Share via


SpatialIndex.DataType Property

Definition

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

[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
[Newtonsoft.Json.JsonProperty(PropertyName="dataType")]
public Microsoft.Azure.Documents.DataType DataType { get; set; }
[<Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))>]
[<Newtonsoft.Json.JsonProperty(PropertyName="dataType")>]
member this.DataType : Microsoft.Azure.Documents.DataType with get, set
Public Property DataType As DataType

Property Value

The data type for which this index should be applied.

Attributes
Newtonsoft.Json.JsonConverterAttribute Newtonsoft.Json.JsonPropertyAttribute

Remarks

Refer to http://azure.microsoft.com/documentation/articles/documentdb-indexing-policies/#ConfigPolicy for valid ranges of values.

Applies to