Type.GetTypeCodeImpl 方法

定义

返回此 Type 实例的基础类型代码。Returns the underlying type code of this Type instance.

protected:
 virtual TypeCode GetTypeCodeImpl();
protected virtual TypeCode GetTypeCodeImpl ();
abstract member GetTypeCodeImpl : unit -> TypeCode
override this.GetTypeCodeImpl : unit -> TypeCode
Protected Overridable Function GetTypeCodeImpl () As TypeCode

返回

基础类型的类型代码。The type code of the underlying type.

注解

此方法提供 static (在中C#)或 Shared (Visual Basic) GetTypeCode(Type) 方法的实现。This method provides the implementation for the static (in C#) or Shared (in Visual Basic) GetTypeCode(Type) method. 当从 Type继承时,可以重写此方法以提供您自己的 GetTypeCode实现。When you inherit from Type, you can override this method to provide your own implementation of GetTypeCode.

适用于

另请参阅