DataControlFieldCollection.Insert(Int32, DataControlField) Method

Definition

Inserts the specified DataControlField object into the DataControlFieldCollection collection at the specified index.

C#
public void Insert(int index, System.Web.UI.WebControls.DataControlField field);

Parameters

index
Int32

The zero-based index at which the DataControlField is inserted.

field
DataControlField

The DataControlField to insert.

Exceptions

index is less than 0.

-or-

index is greater than Count.

Applies to

Produkt Verzie
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also