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

プロパティ値

Boolean

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

属性

注釈

システム カウンターの場合は、 ReadOnly 常に true. システム カウンターに書き込むことはできません。

適用対象