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。