Enum.IConvertible.GetTypeCode 方法

定义

返回此 Enum 实例的类型代码。Returns the type code of this Enum instance.

 virtual TypeCode System.IConvertible.GetTypeCode() = IConvertible::GetTypeCode;
TypeCode IConvertible.GetTypeCode ();
Function GetTypeCode () As TypeCode Implements IConvertible.GetTypeCode

返回

一个枚举值,用于描述此 Enum 实例的类型代码。An enumeration value that describes the type code of this Enum instance.

实现

异常

枚举类型未知。The enum type is unknown.

适用于