ObjectHelperConvertToT Method (Object, IFormatProvider) |
Namespace: DigitalRune
Exception | Condition |
---|---|
FormatException | value is not in a format for T recognized by provider. |
InvalidCastException |
This conversion is not supported. Or, value is and T is a value type. Or, value does not implement the IConvertible interface. |
OverflowException | value represents a number that is out of the range of T. |