ResourceIdentifier.CompareTo(ResourceIdentifier) 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.
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.