Muokkaa

Jaa


TemplateGroupCollection.AddRange(TemplateGroupCollection) Method

Definition

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.

Applies to

See also