Index.Spatial Method

Definition

Returns an instance of the SpatialIndex class with specified DataType for the Azure DocumentDB database service.

public static Microsoft.Azure.Documents.SpatialIndex Spatial (Microsoft.Azure.Documents.DataType dataType);
Parameters
dataType
DataType

Specifies the target data type for the index path specification.

Returns

An instance of SpatialIndex type.