System.Web.UI.Design.DesignerAutoFormatCollection.Insert Method

Inserts a System.Web.UI.Design.DesignerAutoFormat object into the collection at the specified index.

Syntax

public void Insert (int index, DesignerAutoFormat format)

Parameters

index
The zero-based index within the collection at which to insert format.
format
The System.Web.UI.Design.DesignerAutoFormat to insert into the collection.

Remarks

The DesignerAutoFormatCollection.Insert(int, DesignerAutoFormat) method adds a System.Web.UI.Design.DesignerAutoFormat object to the collection at a specific index location. To add a single System.Web.UI.Design.DesignerAutoFormat to the end of the collection, use the DesignerAutoFormatCollection.Add(DesignerAutoFormat) method.

Note:

When you insert an item into a collection, the index values change for subsequent items in the collection.

Requirements

Namespace: System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 2.0.0.0