BrowsableAttribute.No 欄位

定義

規定屬性或事件在設計時不得被修改。 此 static 欄位為唯讀。

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

欄位值

備註

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

適用於

另請參閱