ReadOnlyAttribute.Default 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
指定 的 ReadOnlyAttribute預設值,即 No 該屬性綁定的屬性為讀寫。 此 static 欄位為唯讀。
public: static initonly System::ComponentModel::ReadOnlyAttribute ^ Default;
public static readonly System.ComponentModel.ReadOnlyAttribute Default;
staticval mutable Default : System.ComponentModel.ReadOnlyAttribute
Public Shared ReadOnly Default As ReadOnlyAttribute
欄位值
備註
當你用這個值標記一個屬性時,這個屬性會被設定為常數成員 No。 因此,當你想檢查該屬性是否設定為此值時,必須指定屬性為 ReadOnlyAttribute.No。