Sdílet prostřednictvím


Range<T>.Contains Method

Definition

Overloads

Contains(Range<T>)

Checks if the range contains another range..

Contains(T)

Checks if the range contains a key.

Contains(Range<T>)

Checks if the range contains another range..

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

Parameters

other
Range<T>

The input range to be checked if it's contained in this range.

Returns

Returns true if the input range is contained in the range.

Applies to

Contains(T)

Checks if the range contains a key.

public bool Contains (T point);
member this.Contains : 'T -> bool
Public Function Contains (point As T) As Boolean

Parameters

point
T

The key to be checked if in the range.

Returns

Returns true if the key is in the range.

Applies to