Int32.IConvertible.GetTypeCode 方法

定义

返回值类型 TypeCodeInt32Returns the TypeCode for value type Int32.

 virtual TypeCode System.IConvertible.GetTypeCode() = IConvertible::GetTypeCode;
TypeCode IConvertible.GetTypeCode ();
abstract member System.IConvertible.GetTypeCode : unit -> TypeCode
override this.System.IConvertible.GetTypeCode : unit -> TypeCode
Function GetTypeCode () As TypeCode Implements IConvertible.GetTypeCode

返回

TypeCode

枚举常数 Int32The enumerated constant, Int32.

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 Int32 实例被强制转换为 IConvertible 接口时使用。It can be used only when the Int32 instance is cast to an IConvertible interface.

适用于