Convert..::..ToChar Method (Object)
Converts the value of the specified object to a Unicode character.
Note: Calling this method for [bool], [float], [double], [decimal] and [DateTime] values always throws InvalidCastException.
Namespace:
SystemAssembly: Bridge (in Bridge.dll)
Syntax
[TemplateAttribute] public static char ToChar( Object value )
<TemplateAttribute> _ Public Shared Function ToChar ( _ value As Object _ ) As Char
[TemplateAttribute] public: static wchar_t^ ToChar( Object^ value )
Parameters
- value
- Type: System..::..Object