CounterSample.Equals 메서드

정의

두 개의 카운터 샘플이 같은지 여부를 나타냅니다.Indicates whether two counter samples are equal.

오버로드

Equals(CounterSample)

지정된 CounterSample 구조체가 현재 CounterSample 구조체와 같은지 여부를 나타냅니다.Indicates whether the specified CounterSample structure is equal to the current CounterSample structure.

Equals(Object)

지정된 구조체가 CounterSample 구조체이고 현재 CounterSample 구조체와 동일한지 여부를 나타냅니다.Indicates whether the specified structure is a CounterSample structure and is identical to the current CounterSample structure.

Equals(CounterSample)

지정된 CounterSample 구조체가 현재 CounterSample 구조체와 같은지 여부를 나타냅니다.Indicates whether the specified CounterSample structure is equal to the current CounterSample structure.

public:
 bool Equals(System::Diagnostics::CounterSample other);
public bool Equals (System.Diagnostics.CounterSample other);
override this.Equals : System.Diagnostics.CounterSample -> bool
Public Function Equals (other As CounterSample) As Boolean

매개 변수

sample
CounterSample

해당 인스턴스와 비교할 CounterSample 구조체입니다.The CounterSample structure to be compared with this instance.

반환

sample가 현재 인스턴스와 같으면 true이고, 그렇지 않으면 false입니다.true if sample is equal to the current instance; otherwise, false.

설명

CounterSample 구조체가 동일한 속성 값을 가질 경우 동일 합니다.Two CounterSample structures are equal if they have identical property values.

Equals(Object)

지정된 구조체가 CounterSample 구조체이고 현재 CounterSample 구조체와 동일한지 여부를 나타냅니다.Indicates whether the specified structure is a CounterSample structure and is identical to the current CounterSample structure.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

매개 변수

o
Object

현재 구조체와 비교할 CounterSample 구조체입니다.The CounterSample structure to be compared with the current structure.

반환

oCounterSample 구조체이고 현재 인스턴스와 같으면 true이고, 그렇지 않으면 false입니다.true if o is a CounterSample structure and is identical to the current instance; otherwise, false.

설명

CounterSample 구조체가 동일한 속성 값을 가질 경우 동일 합니다.Two CounterSample structures are equal if they have identical property values.

적용 대상