DataView.Item[Int32] 屬性

定義

從指定的資料表取得一列資料。Gets a row of data from a specified table.

public:
 property System::Data::DataRowView ^ default[int] { System::Data::DataRowView ^ get(int recordIndex); };
public System.Data.DataRowView this[int recordIndex] { get; }
member this.Item(int) : System.Data.DataRowView
Default Public ReadOnly Property Item(recordIndex As Integer) As DataRowView

參數

recordIndex
Int32

DataTable 中之記錄的索引。The index of a record in the DataTable.

屬性值

所需的資料列之 DataRowViewA DataRowView of the row that you want.

適用於

另請參閱