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として指定する必要があります。

適用対象

こちらもご覧ください