語言

PropertyGrid.PropertyTabCollection.Clear(PropertyTabScope) 方法

定義

移除集合中指定範圍中所有 屬性分頁 。

public:
 void Clear(System::ComponentModel::PropertyTabScope tabScope);
public void Clear(System.ComponentModel.PropertyTabScope tabScope);
member this.Clear : System.ComponentModel.PropertyTabScope -> unit
Public Sub Clear (tabScope As PropertyTabScope)

參數

tabScope
PropertyTabScope

要清除的分頁範圍。

例外狀況

參數的賦值 tabScope 小於 Document 的 PropertyTabScope值。

備註

此方法會清除指定範圍或更小範圍的分頁。 tabScope參數必須是 Component 的 Document或 PropertyTabScope 值。

適用於