共用方式為


ResourceIdentifier.CompareTo(ResourceIdentifier) Method

Definition

Compre this resource identifier to the given resource identifier.

public int CompareTo (Azure.Core.ResourceIdentifier? other);
abstract member CompareTo : Azure.Core.ResourceIdentifier -> int
override this.CompareTo : Azure.Core.ResourceIdentifier -> int
Public Function CompareTo (other As ResourceIdentifier) As Integer

Parameters

other
ResourceIdentifier

The resource identifier to compare to.

Returns

0 if the resource identifiers are equivalent, less than 0 if this resource identifier should be ordered before the given resource identifier, greater than 0 if this resource identifier should be ordered after the given resource identifier.

Implements

Applies to