Group Collection. Remove(TemplateGroup) Method
Removes the specified TemplateGroup object from the collection.
public: void Remove(System::Web::UI::Design::TemplateGroup ^ group);
public void Remove (System.Web.UI.Design.TemplateGroup group);
member this.Remove : System.Web.UI.Design.TemplateGroup -> unit
Public Sub Remove (group As TemplateGroup)
The Remove method performs a linear search; therefore, the average execution time is proportional to the Count property. Because template group collections typically are small, the performance of the linear search operation is not critical.
When you remove an item from the collection, the indexes change for subsequent items in the collection.