DbDataRecord.FieldCount 屬性

定義

指出目前記錄內的欄位數目。 這個屬性是唯讀的。

public:
 abstract property int FieldCount { int get(); };
public:
 property int FieldCount { int get(); };
public abstract int FieldCount { get; }
public int FieldCount { get; }
member this.FieldCount : int
Public MustOverride ReadOnly Property FieldCount As Integer
Public ReadOnly Property FieldCount As Integer

屬性值

目前記錄內的欄位數目。

實作

例外狀況

未連接到要讀取的資料來源。

適用於

另請參閱