TemplateGroupCollection.Add(TemplateGroup) 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 specified TemplateGroup object to the end of the collection.
public:
int Add(System::Web::UI::Design::TemplateGroup ^ group);
public int Add (System.Web.UI.Design.TemplateGroup group);
member this.Add : System.Web.UI.Design.TemplateGroup -> int
Public Function Add (group As TemplateGroup) As Integer
Parameters
- group
- TemplateGroup
The TemplateGroup to add to the collection.
Returns
The index at which the TemplateGroup was added to the collection.
Remarks
The Add method adds the specified TemplateGroup object to the end of the collection. To add a TemplateGroup object to the collection at a specific index location, use the Insert method.
To add multiple groups to the collection, use the AddRange method.