PropertyGrid.PropertyTabCollection.Clear(PropertyTabScope) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
移除集合中指定範圍中所有 屬性分頁 。
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 值。