CounterSample.Equals Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether two counter samples are equal.
Overloads
Equals(CounterSample) |
Indicates whether the specified CounterSample structure is equal to the current CounterSample structure. |
Equals(Object) |
Indicates whether the specified structure is a CounterSample structure and is identical to the current CounterSample structure. |
Equals(CounterSample)
- Source:
- CounterSample.cs
- Source:
- CounterSample.cs
- Source:
- CounterSample.cs
- Source:
- CounterSample.cs
Indicates whether the specified CounterSample structure is equal to the current CounterSample structure.
public:
virtual bool Equals(System::Diagnostics::CounterSample sample);
public:
bool Equals(System::Diagnostics::CounterSample sample);
public bool Equals (System.Diagnostics.CounterSample sample);
override this.Equals : System.Diagnostics.CounterSample -> bool
Public Function Equals (sample As CounterSample) As Boolean
Parameters
- sample
- CounterSample
The CounterSample structure to be compared with this instance.
Returns
true
if sample
is equal to the current instance; otherwise, false
.
Implements
Remarks
Two CounterSample structures are equal if they have identical property values.
Applies to
Equals(Object)
- Source:
- CounterSample.cs
- Source:
- CounterSample.cs
- Source:
- CounterSample.cs
- Source:
- CounterSample.cs
Indicates whether the specified structure is a CounterSample structure and is identical to the current CounterSample structure.
public:
override bool Equals(System::Object ^ o);
public override bool Equals (object o);
override this.Equals : obj -> bool
Public Overrides Function Equals (o As Object) As Boolean
Parameters
- o
- Object
The CounterSample structure to be compared with the current structure.
Returns
true
if o
is a CounterSample structure and is identical to the current instance; otherwise, false
.
Remarks
Two CounterSample structures are equal if they have identical property values.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기