DbBatchCommandCollection.Item[Int32] Property

Definition

Gets or sets the DbBatchCommand at the specified index.

C#
public System.Data.Common.DbBatchCommand this[int index] { get; set; }

Parameters

index
Int32

The zero-based index of the DbBatchCommand.

Property Value

The DbBatchCommand at the specified index.

Implements

Exceptions

The specified index does not exist.

Applies to

Product Versions
.NET 6, 7, 8, 9, 10