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
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
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.