SpatialIndex Class

Definition

Specifies an instance of the SpatialIndex class in the Azure DocumentDB database service.

public sealed class SpatialIndex : Microsoft.Azure.Documents.Index, ICloneable
Inheritance
Implements

Inherited Members

Microsoft.Azure.Documents.Index

Microsoft.Azure.Documents.JsonSerializable

Remarks

Can be used to serve spatial queries.

Constructors

SpatialIndex(DataType)

Initializes a new instance of the SpatialIndex class for the Azure DocumentDB database service.

Properties

DataType

Gets or sets the data type for which this index should be applied in the Azure DocumentDB database service.

Methods

Clone()

Creates a copy of the spatial index for the Azure DocumentDB database service.

Extension Methods

IsDefined(Object)
IsNull(Object)
IsPrimitive(Object)