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);
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.
Remarks
The Range class that represents a range used by the RangePartitionResolver<T> class in the Azure DocumentDB database service.
Contains(T)
Checks if the range contains a key.
public bool Contains (T point);
Parameters
- point
- T
The key to be checked if in the range.
Returns
Returns true if the key is in the range.
Remarks
The Range class that represents a range used by the RangePartitionResolver<T> class in the Azure DocumentDB database service.