Int32.IConvertible.GetTypeCode 方法

定義

傳回實值類型 TypeCodeInt32Returns the TypeCode for value type Int32.

 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

列舉常數 Int32The enumerated constant, Int32.

實作

備註

這個成員是明確介面成員實作,This member is an explicit interface member implementation. 只有在 Int32 執行個體轉換成 IConvertible 介面時,才能使用這個成員。It can be used only when the Int32 instance is cast to an IConvertible interface.

適用於