Byte.IConvertible.GetTypeCode 方法

定义

返回此实例的 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

返回

TypeCode

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

实现

注解

此成员是显式接口成员的实现。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.

适用于