Type.GetTypeCodeImpl Type.GetTypeCodeImpl Type.GetTypeCodeImpl Type.GetTypeCodeImpl Method

定义

返回此 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.

适用于

另请参阅