Convert..::..ToUInt16 Method (Object)
Converts the value of the specified object to a 16-bit unsigned integer.
Note: Calling this method for [DateTime] value always throws InvalidCastException.
Namespace:
SystemAssembly: Bridge (in Bridge.dll)
Syntax
[TemplateAttribute] public static ushort ToUInt16( Object value )
<TemplateAttribute> _ Public Shared Function ToUInt16 ( _ value As Object _ ) As UShort
[TemplateAttribute] public: static unsigned short^ ToUInt16( Object^ value )
Parameters
- value
- Type: System..::..Object