BrowsableAttribute.Yes 欄位

定義

規定屬性或事件可在設計時進行修改。 此 static 欄位為唯讀。

public: static initonly System::ComponentModel::BrowsableAttribute ^ Yes;
public static readonly System.ComponentModel.BrowsableAttribute Yes;
 staticval mutable Yes : System.ComponentModel.BrowsableAttribute
Public Shared ReadOnly Yes As BrowsableAttribute 

欄位值

備註

此欄位為該屬性的預設設定。

當你用 BrowsableAttribute 的建構子 true標記屬性時,這個屬性會被設定為常數成員 Yes。 因此,當你檢查該屬性是否設定為此值時,必須指定該屬性為 BrowsableAttribute.Yes

適用於

另請參閱