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

属性值

指定索引处的元素。

实现

例外

适用于