PerformanceCounter.ReadOnly プロパティ

定義

この PerformanceCounter インスタンスが読み取り専用モードかどうかを示す値を取得または設定します。

public:
 property bool ReadOnly { bool get(); void set(bool value); };
public bool ReadOnly { get; set; }
[System.ComponentModel.Browsable(false)]
public bool ReadOnly { get; set; }
member this.ReadOnly : bool with get, set
[<System.ComponentModel.Browsable(false)>]
member this.ReadOnly : bool with get, set
Public Property ReadOnly As Boolean

プロパティ値

truePerformanceCounter インスタンスが読み取り専用モードの場合 (カウンター自体がカスタム .NET Framework カウンターの場合でも)、読み取り/書き込みモードの場合は false。 既定値は、コンストラクターによって設定された値です。

属性

注釈

システム カウンターの場合、 ReadOnly は常に trueする必要があります。 システム カウンターに書き込むことはできません。

適用対象