Retrieves the type code of an object. The SByte type is not CLS compliant. The CLS-compliant alternative is Byte.
[C#] public virtual TypeCode GetTypeCode(); [C++] public: virtual TypeCode GetTypeCode(); [JScript] public function GetTypeCode() : TypeCode;
[Visual Basic] The SByte 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.)
SByte Structure | SByte Members | System Namespace | TypeCode