PerformanceCounter.ReadOnly 속성

정의

PerformanceCounter 인스턴스가 읽기 전용 모드인지 여부를 나타내는 값을 가져오거나 설정합니다.

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

속성 값

true PerformanceCounter 인스턴스가 읽기 전용 모드인 경우(카운터 자체가 사용자 지정 .NET Framework 카운터인 경우에도) false(읽기/쓰기 모드인 경우)입니다. 기본값은 생성자가 설정한 값입니다.

특성

설명

시스템 카운터 ReadOnly 의 경우 항상 true. 시스템 카운터에 쓸 수 없습니다.

적용 대상