CounterSample.Equality(CounterSample, CounterSample) Operator
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.
Returns a value that indicates whether two CounterSample structures are equal.
public:
static bool operator ==(System::Diagnostics::CounterSample a, System::Diagnostics::CounterSample b);
public static bool operator == (System.Diagnostics.CounterSample a, System.Diagnostics.CounterSample b);
static member ( = ) : System.Diagnostics.CounterSample * System.Diagnostics.CounterSample -> bool
Public Shared Operator == (a As CounterSample, b As CounterSample) As Boolean
Parameters
A CounterSample structure.
Another CounterSample structure to be compared to the structure specified by the a
parameter.
Returns
true
if a
and b
are equal; otherwise, false
.
Remarks
Two CounterSample structures are equal if they have identical property values.
The equivalent method for this operator is CounterSample.Equals(CounterSample).
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for