PerformanceCounter::ReadOnly Property
.NET Framework (current version)
Gets or sets a value indicating whether this PerformanceCounter instance is in read-only mode.
Assembly: System (in System.dll)
public: [BrowsableAttribute(false)] property bool ReadOnly { bool get(); void set(bool value); }
Property Value
Type: System::Booleantrue, if the PerformanceCounter instance is in read-only mode (even if the counter itself is a custom .NET Framework counter); false if it is in read/write mode. The default is the value set by the constructor.
For a system counter, ReadOnly should always true. You cannot write to a system counter.
.NET Framework
Available since 1.1
Available since 1.1
Show: