Export (0) Print
Expand All

CounterSample.Equals Method (CounterSample)

Indicates whether the specified CounterSample structure is equal to the current CounterSample structure.

Namespace:  System.Diagnostics
Assembly:  System (in System.dll)

public bool Equals(
	CounterSample sample


Type: System.Diagnostics.CounterSample

The CounterSample structure to be compared with this instance.

Return Value

Type: System.Boolean
true if sample is equal to the current instance; otherwise, false.

Two CounterSample structures are equal if they have identical property values.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft