你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Indexes 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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”
- kind
- IndexKind
指示索引的类型。 可能的值包括:“Hash”、“Range”、“Spatial”