Boolean.IConvertible.GetTypeCode Method

Definition

返回此实例的 TypeCodeReturns the TypeCode for this instance.

 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

Returns

TypeCode

枚举常数,它是实现该接口的类或值类型的 TypeCodeThe enumerated constant that is the TypeCode of the class or value type that implements this interface.

Implements

Remarks

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

Applies to