SpatialIndex Class
Updated: June 30, 2017
Specifies an instance of the SpatialIndex class in the Azure DocumentDB database service.
Assembly: Microsoft.Azure.Documents.Client (in Microsoft.Azure.Documents.Client.dll)
Microsoft.Azure.DocumentsJsonSerializable
Microsoft.Azure.DocumentsIndex
Microsoft.Azure.DocumentsSpatialIndex
| Name | Description | |
|---|---|---|
![]() | SpatialIndex | Initializes a new instance of the SpatialIndex class for the Azure DocumentDB database service. |
| Name | Description | |
|---|---|---|
![]() | Gets or sets the data type for which this index should be applied in the Azure DocumentDB database service. | |
![]() | Gets or sets the kind of indexing to be applied in the Azure DocumentDB database service. (Inherited from Index.) |
| Name | Description | |
|---|---|---|
![]() | Clone | Creates a copy of the spatial index for the Azure DocumentDB database service. |
![]() | Equals | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | LoadFrom | Loads the object from the specified JSON reader in the Azure DocumentDB database service. (Inherited from JsonSerializable.) |
![]() | SaveTo | Saves the object to the specified stream in the Azure DocumentDB database service. (Inherited from JsonSerializable.) |
![]() | ToString | Returns the string representation of the object in the Azure DocumentDB database service. (Inherited from JsonSerializable.) |
| Name | Description | |
|---|---|---|
![]() | IsDefined | Determines if a certain property is defined or not. (Defined by TypeCheckFunctionsExtensions.) |
![]() | IsNull | Determines if a certain property is null or not. (Defined by TypeCheckFunctionsExtensions.) |
![]() | IsPrimitive | Determines if a certain property is of premitive JSON type. (Defined by TypeCheckFunctionsExtensions.) |
Can be used to serve spatial queries.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

