Share via


HashIndex.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 Customizing the indexing policy of a collection for valid ranges of values.

Applies to