Adds the specified System.Web.UI.Design.TemplateGroup object to the end of the collection.
- group
The System.Web.UI.Design.TemplateGroup to add to the collection.
![]()
The index at which the System.Web.UI.Design.TemplateGroup was added to the collection.
The TemplateGroupCollection.Add(TemplateGroup) method adds the specified System.Web.UI.Design.TemplateGroup object to the end of the collection. To add a System.Web.UI.Design.TemplateGroup object to the collection at a specific index location, use the TemplateGroupCollection.Insert(int, TemplateGroup) method.
To add multiple groups to the collection, use the TemplateGroupCollection.AddRange(TemplateGroupCollection) method.