TemplateGroupCollection::AddRange Method (TemplateGroupCollection^)

 

Adds the template groups in an existing TemplateGroupCollection object to the current TemplateGroupCollection object.

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

public:
void AddRange(
	TemplateGroupCollection^ groups
)

Parameters

groups
Type: System.Web.UI.Design::TemplateGroupCollection^

A TemplateGroupCollection that contains the groups to add to the collection.

Exception Condition
ArgumentNullException

groups is null.

The AddRange method adds multiple groups to the collection. To add a single TemplateGroup object to the end of the collection, use the Add method. To add a TemplateGroup object to the collection at a specific index location, use the Insert method.

.NET Framework
Available since 2.0
Return to top
Show: