System.Web.UI.Design.DesignerRegionCollection.Add Method

Adds the specified System.Web.UI.Design.DesignerRegion object to the end of the collection.

Syntax

public int Add (DesignerRegion region)

Parameters

region
The System.Web.UI.Design.DesignerRegion to add to the collection.

Returns

The index at which the region was added to the collection.

Remarks

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

Requirements

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