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

傳回

TypeCode

基礎類型的型別碼。The type code of the underlying type.

備註

這個方法會提供 c # ) 中的 (的執行, staticShared Visual Basic) 方法中的 (GetTypeCode(Type)This method provides the implementation for the static (in C#) or Shared (in Visual Basic) GetTypeCode(Type) method. 當您繼承自時 Type ,您可以覆寫這個方法以提供您自己的實作為 GetTypeCodeWhen you inherit from Type, you can override this method to provide your own implementation of GetTypeCode.

適用於

另請參閱