Retrieves the type code of an object. The UInt16 type is not CLS compliant. The CLS-compliant alternative is Int16.
[C#] public virtual TypeCode GetTypeCode(); [C++] public: virtual TypeCode GetTypeCode(); [JScript] public function GetTypeCode() : TypeCode;
[Visual Basic] The UInt16 type cannot be used in Visual Basic.
A type code.
The GetTypeCode method implements IConvertible, which replaced IValue. This method is used to obtain the type code for a specified object. (See TypeCode enumeration for more information about type codes.)
UInt16 Structure | UInt16 Members | System Namespace | IConvertible | TypeCode