Range<T>.Contains Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET