語言

DesignerRegionCollection.Clear 方法

定義

從集合中移除所有區域。

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

備註

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

適用於

另請參閱