Range<T>.Intersect(Range<T>) Method

Definition

Checks if the range other intersects with this range.

public bool Intersect (Microsoft.Azure.Documents.Partitioning.Range<T> other);
member this.Intersect : Microsoft.Azure.Documents.Partitioning.Range<'T (requires 'T :> IComparable<'T> and 'T :> IEquatable<'T>)> -> bool
Public Function Intersect (other As Range(Of T)) As Boolean

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.

Applies to