DbBatchCommandCollection.Item[Int32] 属性

定义

获取或设置 DbBatchCommand 指定索引处。

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

参数

index
Int32

从零开始的 DbBatchCommand索引 。

属性值

位于 DbBatchCommand 指定索引处。

实现

例外

指定的索引不存在。

适用于