Index.Range
Method
Definition
Overloads
| Range(DataType) |
Returns an instance of the RangeIndex class with specified DataType for the Azure DocumentDB database service. |
| Range(DataType, Int16) |
Returns an instance of the RangeIndex class with specified DataType and precision for the Azure DocumentDB database service. |
Range(DataType)
Returns an instance of the RangeIndex class with specified DataType for the Azure DocumentDB database service.
public static Microsoft.Azure.Documents.RangeIndex Range (Microsoft.Azure.Documents.DataType dataType);
Parameters
- dataType
- DataType
Specifies the target data type for the index path specification.
Returns
An instance of RangeIndex type.
Range(DataType, Int16)
Returns an instance of the RangeIndex class with specified DataType and precision for the Azure DocumentDB database service.
public static Microsoft.Azure.Documents.RangeIndex Range (Microsoft.Azure.Documents.DataType dataType, short precision);
Parameters
- dataType
- DataType
Specifies the target data type for the index path specification.
- precision
- Int16
Specifies the precision to be used for the data type associated with this index.
Returns
An instance of RangeIndex type.