DesignerRegionCollection.Clear 方法
定义
从集合中移除所有区域。Removes all regions 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 regions from the collection. 若要从集合中删除特定区域,请使用 Remove 方法。To remove a specific region from the collection, use the Remove method. 若要删除特定索引处的区域,请使用 RemoveAt 方法。To remove a region at a particular index, use the RemoveAt method.