TemplateGroupCollection::AddRange Method (TemplateGroupCollection^)
.NET Framework (current version)
Adds the template groups in an existing TemplateGroupCollection object to the current TemplateGroupCollection object.
Assembly: System.Design (in System.Design.dll)
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
Available since 2.0
Show: