IConvertible.GetTypeCode 方法

定義

傳回這個執行個體的 TypeCodeReturns the TypeCode for this instance.

public:
 TypeCode GetTypeCode();
public TypeCode GetTypeCode ();
abstract member GetTypeCode : unit -> TypeCode
Public Function GetTypeCode () As TypeCode

傳回

列舉常數,該常數是實作這個介面的類型或實值型別的 TypeCodeThe enumerated constant that is the TypeCode of the class or value type that implements this interface.

適用於