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.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for