ReadOnlyAttribute.Yes フィールド

定義

この属性が関連付けられているプロパティが読み取り専用であり、サーバー エクスプローラーで変更できないことを指定します。 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指定する必要があります。

適用対象

こちらもご覧ください