DbBatchCommandCollection.Item[Int32] Property

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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