Range<T>.Intersect Method

Definition

Checks if the range other intersects with this range.

public bool Intersect (Microsoft.Azure.Documents.Partitioning.Range<T> other);
Parameters
other
Range<T>

the input Range<T> to be compared with this range.

Returns

Returns true if the two ranges intersect with each other.

Remarks

The Range class that represents a range used by the RangePartitionResolver<T> class in the Azure DocumentDB database service.