ReadOnlyAttribute.Default 欄位

定義

指定 的 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

適用於

另請參閱