ReadOnlyAttribute.Yes フィールド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
この属性がバインドされるプロパティが読み取り専用であり、サーバー エクスプローラーで変更できないことを指定します。 この static フィールドは読み取り専用です。
public: static initonly System::ComponentModel::ReadOnlyAttribute ^ Yes;
public static readonly System.ComponentModel.ReadOnlyAttribute Yes;
staticval mutable Yes : System.ComponentModel.ReadOnlyAttribute
Public Shared ReadOnly Yes As ReadOnlyAttribute
フィールド値
注釈
ReadOnlyAttributeを true に設定してプロパティをマークすると、この属性の値は定数メンバー Yesに設定されます。 そのため、コードで属性がこの値に設定されているかどうかを確認する場合は、属性を ReadOnlyAttribute.Yesとして指定する必要があります。