Range<T>.CompareTo
Method
Definition
Compares two ranges.
public int CompareTo (Microsoft.Azure.Documents.Partitioning.Range<T> other);
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.
Remarks
The Range class that represents a range used by the RangePartitionResolver<T> class in the Azure DocumentDB database service.