System Namespace Convert Class
Converts the value of a given Object to a 16-bit unsigned integer.
This method is not CLS-compliant. For more information about CLS compliance, see What is the Common Language Specification.
[ VB ] Overloads Public Shared Function ToUInt16 ( _ ByVal value As Object _ ) As UInt16 [ C# ] public static ushort ToUInt16 ( object value ); [ C++ ] public: static unsigned short ToUInt16 ( Object* value ); [ JScript ] public static function ToUInt16 ( value : Object ) : UInt16;
The 16-bit unsigned integer equivalent of value, or zero if value is a null reference ( Nothing in Visual Basic ).
The return value is the result of invoking the IConvertible.ToUInt16 method of the underlying type of value.
Convert Members Convert.ToUInt16 Overload List Object
Check out related books at Amazon
© 2025 Reynald Nuñez and asp.net.ph. All rights reserved. If you have any question, comment or suggestion about this site, please send us a note