Range Class

 

Updated: June 30, 2017

Note: This API is now obsolete.

A class that represents a range used by the RangePartitionResolver class in the Azure DocumentDB database service.

Namespace:   Microsoft.Azure.Documents.Partitioning
Assembly:  Microsoft.Azure.Documents.Client (in Microsoft.Azure.Documents.Client.dll)

SystemObject
  Microsoft.Azure.Documents.PartitioningRange

No code example is currently available or this language may not be supported.

Type Parameters

T

Any type that can be used for range comparison.

NameDescription
System_CAPS_pubmethodRange

Initializes a new instance of the Range class for a single value.

System_CAPS_pubmethodRange

Initializes a new instance of the Range class using the specified low and high values.

NameDescription
System_CAPS_pubproperty

Gets the high value in the range.

System_CAPS_pubproperty

Gets the low value in the range.

NameDescription
System_CAPS_pubmethodCompareTo

Compares two ranges.

System_CAPS_pubmethodContains

Checks if the range contains a key.

System_CAPS_pubmethodContains

Checks if the range contains another range..

System_CAPS_pubmethodEquals

(Inherited from Object.)

System_CAPS_pubmethodEquals

Checks if two ranges are equal.

System_CAPS_protmethodFinalize

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode

Creates the hashcode for the range. (Overrides ObjectGetHashCode.)

System_CAPS_pubmethodGetType

(Inherited from Object.)

System_CAPS_pubmethodIntersect

Checks if the range other intersects with this range.

System_CAPS_protmethodMemberwiseClone

(Inherited from Object.)

System_CAPS_pubmethodToString

Converts the range to a string in the form of "low,high" (Overrides ObjectToString.)

NameDescription
System_CAPS_pubmethodIsDefined

Determines if a certain property is defined or not. (Defined by TypeCheckFunctionsExtensions.)

System_CAPS_pubmethodIsNull

Determines if a certain property is null or not. (Defined by TypeCheckFunctionsExtensions.)

System_CAPS_pubmethodIsPrimitive

Determines if a certain property is of premitive JSON type. (Defined by TypeCheckFunctionsExtensions.)

Support for classes used with IPartitionResolver is now obsolete. It's recommended that you use Partitioned Collections for higher storage and throughput.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: