共用方式為


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 來排除隱藏欄位。

適用於