共用方式為


SqlBatchCommandCollection.IList<SqlBatchCommand>.Item[Int32] 屬性

定義

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

property Microsoft::Data::SqlClient::SqlBatchCommand ^ System::Collections::Generic::IList<Microsoft::Data::SqlClient::SqlBatchCommand>::Item[int] { Microsoft::Data::SqlClient::SqlBatchCommand ^ get(int index); void set(int index, Microsoft::Data::SqlClient::SqlBatchCommand ^ value); };
Microsoft.Data.SqlClient.SqlBatchCommand System.Collections.Generic.IList<Microsoft.Data.SqlClient.SqlBatchCommand>.Item[int index] { get; set; }
member this.System.Collections.Generic.IList<Microsoft.Data.SqlClient.SqlBatchCommand>.Item(int) : Microsoft.Data.SqlClient.SqlBatchCommand with get, set
 Property Item(index As Integer) As SqlBatchCommand Implements IList(Of SqlBatchCommand).Item

參數

index
Int32

屬性值

在指定索引上的項目。

實作

例外狀況

適用於