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