Share via


MetricIdentifier.Equals Method

Definition

Overloads

Equals(Object)

Determines whether the specified object is a MetricIdentifier that is equal to this MetricIdentifier based on the respective metric namespaces, metric IDs and the number and the names of dimensions.

Equals(MetricIdentifier)

Determines whether the specified object is a MetricIdentifier that is equal to this MetricIdentifier based on the respective metric namespaces, metric IDs and the number and the names of dimensions.

Equals(Object)

Determines whether the specified object is a MetricIdentifier that is equal to this MetricIdentifier based on the respective metric namespaces, metric IDs and the number and the names of dimensions.

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

Parameters

otherObj
Object

Another object.

Returns

Whether the specified other object is equal to this object based on the respective namespaces, IDs and dimension names.

Applies to

Equals(MetricIdentifier)

Determines whether the specified object is a MetricIdentifier that is equal to this MetricIdentifier based on the respective metric namespaces, metric IDs and the number and the names of dimensions.

public bool Equals (Microsoft.ApplicationInsights.Metrics.MetricIdentifier otherMetricIdentifier);
override this.Equals : Microsoft.ApplicationInsights.Metrics.MetricIdentifier -> bool
Public Function Equals (otherMetricIdentifier As MetricIdentifier) As Boolean

Parameters

otherMetricIdentifier
MetricIdentifier

Another object.

Returns

Whether the specified other object is equal to this object based on the respective namespaces, IDs and dimension names.

Implements

Applies to