Converts the current value to a 16-bit unsigned integer based on the underlying type.
[Visual Basic] Overridable Public Function ToUInt16() As UInt16 [C#] public virtual ushort ToUInt16(); [C++] public: virtual unsigned short ToUInt16(); [JScript] public function ToUInt16() : UInt16;
The converted value.
Uses Convert to perform the conversion.