TraceReader.GetFieldType(Int32) 方法

定義

回傳指定欄位位置資料值的欄位類型。

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

參數

ordinal
Int32

一個 Int32 指定資料欄位位置的值。

傳回

一個 Type 系統物件值,指定資料值的欄位類型。

實作

範例

Readme_Tracer

備註

回傳的值對應於方法回傳GetValue的值類型Object

適用於