StatusBar.StatusBarPanelCollection.Clear StatusBar.StatusBarPanelCollection.Clear StatusBar.StatusBarPanelCollection.Clear StatusBar.StatusBarPanelCollection.Clear Method

定义

从集合中移除所有项。Removes all items from the collection.

public:
 virtual void Clear();
public virtual void Clear ();
abstract member Clear : unit -> unit
override this.Clear : unit -> unit
Public Overridable Sub Clear ()

实现

注解

从集合中删除面板,会丢失有关已删除的面板的所有信息。When you remove panels from the collection, all information about the deleted panels is lost. 若要删除从单个面板StatusBar,使用RemoveRemoveAt方法。To remove a single panel from the StatusBar, use the Remove or RemoveAt method.

适用于

另请参阅