TemplateGroupCollection.Clear TemplateGroupCollection.Clear TemplateGroupCollection.Clear TemplateGroupCollection.Clear Method

定義

移除集合中所有的群組。Removes all groups from the collection.

public:
 void Clear();
public void Clear ();
member this.Clear : unit -> unit
Public Sub Clear ()

實作

備註

Clear使用方法, 從集合中移除所有群組。Use the Clear method to remove all groups from the collection. 若要從集合中移除特定群組, 請使用Remove方法。To remove a specific group from the collection, use the Remove method. 若要移除特定索引處的群組, 請使用RemoveAt方法。To remove a group at a particular index, use the RemoveAt method.

適用於

另請參閱