PerformanceCounter.ReadOnly Vlastnost

Definice

Získá nebo nastaví hodnotu určující, zda je tato PerformanceCounter instance v režimu jen pro čtení.

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

Hodnota vlastnosti

true, pokud je instance PerformanceCounter v režimu jen pro čtení (i když je samotný čítač vlastní čítač .NET Framework); false, pokud je v režimu čtení/zápisu. Výchozí hodnota je nastavena konstruktorem.

Atributy

Poznámky

Pro systémový čítač by ReadOnly měl vždy true. Nelze zapisovat do čítače systému.

Platí pro