TraceReader.GetFieldType(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳指定欄位位置資料值的欄位類型。
public:
virtual Type ^ GetFieldType(int ordinal);
public Type GetFieldType(int ordinal);
abstract member GetFieldType : int -> Type
override this.GetFieldType : int -> Type
Public Function GetFieldType (ordinal As Integer) As Type
參數
傳回
一個 Type 系統物件值,指定資料值的欄位類型。
實作
範例
備註
回傳的值對應於方法回傳GetValue的值類型Object。