ConvertToChar Method (Object) |
Namespace: System
public static char ToChar( Object value )
Exception | Condition |
---|---|
ArgumentNullException | value is a null string. |
InvalidCastException | value does not implement the IConvertible interface.-or-The conversion of value to a Char is not supported. |
OverflowException | value is less than MinValue or greater than MaxValue. |