共用方式為


SqlBatchCommandCollection.Item[Int32] 屬性

定義

取得或設定位於指定索引處的專案。

public:
 property Microsoft::Data::SqlClient::SqlBatchCommand ^ default[int] { Microsoft::Data::SqlClient::SqlBatchCommand ^ get(int index); void set(int index, Microsoft::Data::SqlClient::SqlBatchCommand ^ value); };
public Microsoft.Data.SqlClient.SqlBatchCommand this[int index] { get; set; }
member this.Item(int) : Microsoft.Data.SqlClient.SqlBatchCommand with get, set
Default Public Property Item(index As Integer) As SqlBatchCommand

參數

index
Int32

屬性值

在指定索引上的項目。

實作

例外狀況

適用於