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

適用於

另請參閱