Редагувати

Поділитися через


TemplateGroupCollection.Add(TemplateGroup) Method

Definition

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