ReadOnlyAttribute.No 欄位

定義

指定此屬性綁定的屬性為讀寫,且可修改。 此 static 欄位為唯讀。

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

欄位值

備註

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

當你將屬性標記為 ReadOnlyAttributefalse時,該屬性的值會被設定為常數成員 No。 因此,當你想檢查該屬性是否設定為此值時,必須指定屬性為 ReadOnlyAttribute.No

適用於

另請參閱