System.Web.UI.Design.DesignerRegionCollection.Insert Method

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

Syntax

public void Insert (int index, DesignerRegion region)

Parameters

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

Remarks

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

Note:

When you insert an item into the collection, the indexes 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