System.Web.UI.Design.TemplateGroupCollection.AddRange Method

Adds the template groups in an existing System.Web.UI.Design.TemplateGroupCollection object to the current System.Web.UI.Design.TemplateGroupCollection object.

Syntax

public void AddRange (TemplateGroupCollection groups)

Parameters

groups
A System.Web.UI.Design.TemplateGroupCollection that contains the groups to add to the collection.

Remarks

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

Requirements

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