你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Indexes 构造函数

定义

重载

Indexes()

初始化 Indexes 类的新实例。

Indexes(DataType, Nullable<Int32>, IndexKind)

初始化 Indexes 类的新实例。

Indexes()

初始化 Indexes 类的新实例。

public Indexes ();
Public Sub New ()

适用于

Indexes(DataType, Nullable<Int32>, IndexKind)

初始化 Indexes 类的新实例。

public Indexes (Microsoft.Azure.Management.CosmosDB.Fluent.Models.DataType dataType = default, int? precision = default, Microsoft.Azure.Management.CosmosDB.Fluent.Models.IndexKind kind = default);
new Microsoft.Azure.Management.CosmosDB.Fluent.Models.Indexes : Microsoft.Azure.Management.CosmosDB.Fluent.Models.DataType * Nullable<int> * Microsoft.Azure.Management.CosmosDB.Fluent.Models.IndexKind -> Microsoft.Azure.Management.CosmosDB.Fluent.Models.Indexes
Public Sub New (Optional dataType As DataType = Nothing, Optional precision As Nullable(Of Integer) = Nothing, Optional kind As IndexKind = Nothing)

参数

dataType
DataType

对其应用索引行为的数据类型。 可能的值包括:“String”、“Number”、“Point”、“Polygon”、“LineString”、“MultiPolygon”

precision
Nullable<Int32>

索引的精度。 -1 是最大精度。

kind
IndexKind

指示索引的类型。 可能的值包括:“Hash”、“Range”、“Spatial”

适用于