EntityDataReader.FieldCount 屬性

定義

取得目前資料列中的資料行數目。

public:
 virtual property int FieldCount { int get(); };
public override int FieldCount { get; }
member this.FieldCount : int
Public Overrides ReadOnly Property FieldCount As Integer

屬性值

目前資料列中的資料行數目。

實作

備註

包含隱藏欄位。 使用 VisibleFieldCount 以排除隱藏欄位。

適用於

另請參閱