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,您可以覆寫此方法以提供您自己實作GetTypeCodeWhen you inherit from Type, you can override this method to provide your own implementation of GetTypeCode.

適用於

另請參閱