TemplateGroupCollection.AddRange(TemplateGroupCollection) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds the template groups in an existing TemplateGroupCollection object to the current TemplateGroupCollection object.
public:
void AddRange(System::Web::UI::Design::TemplateGroupCollection ^ groups);
public void AddRange (System.Web.UI.Design.TemplateGroupCollection groups);
member this.AddRange : System.Web.UI.Design.TemplateGroupCollection -> unit
Public Sub AddRange (groups As TemplateGroupCollection)
Parameters
- groups
- TemplateGroupCollection
A TemplateGroupCollection that contains the groups to add to the collection.
Exceptions
groups
is null
.
Remarks
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.