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

속성 값

카운터가 사용자 지정 .NET Framework 카운터이더라도 PerformanceCounter 인스턴스가 읽기 전용 모드에 있으면 true이고, 읽기/쓰기 모드에 있으면 false입니다. 생성자가 설정한 값이 기본값입니다.

특성

설명

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

적용 대상