Range<T>.CompareTo(Range<T>) 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.
Compares two ranges.
public int CompareTo(Microsoft.Azure.Documents.Partitioning.Range<T> other);
abstract member CompareTo : Microsoft.Azure.Documents.Partitioning.Range<'T (requires 'T :> IComparable<'T> and 'T :> IEquatable<'T>)> -> int
override this.CompareTo : Microsoft.Azure.Documents.Partitioning.Range<'T (requires 'T :> IComparable<'T> and 'T :> IEquatable<'T>)> -> int
Public Function CompareTo (other As Range(Of T)) As Integer
Parameters
- other
- Range<T>
The other range to compare to.
Returns
Returns -1 if the range is smaller than the passed range, 1 if bigger and 0 if equal.
Implements
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET