共用方式為


DesignerRegionCollection.Clear 方法

定義

從集合移除所有的區域。

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

備註

Clear使用 方法可從集合中移除所有區域。 若要從集合中移除特定區域,請使用 Remove 方法。 若要移除特定索引的區域,請使用 RemoveAt 方法。

適用於

另請參閱