DesignerRegionCollection.Add(DesignerRegion) Method

Definition

Adds the specified DesignerRegion object to the end of the collection.

public:
 int Add(System::Web::UI::Design::DesignerRegion ^ region);
public int Add (System.Web.UI.Design.DesignerRegion region);
member this.Add : System.Web.UI.Design.DesignerRegion -> int
Public Function Add (region As DesignerRegion) As Integer

Parameters

region
DesignerRegion

The DesignerRegion to add to the collection.

Returns

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

Remarks

The Add method adds the specified DesignerRegion object to the end of the collection. To add a DesignerRegion object to the collection at a specific index location, use the Insert method.

Applies to

See also