共用方式為


Indexes Constructors

Definition

Overloads

Indexes()

Initializes a new instance of the Indexes class.

Indexes(String, Nullable<Int32>, String)

Initializes a new instance of the Indexes class.

Indexes()

Initializes a new instance of the Indexes class.

public Indexes ();
Public Sub New ()

Applies to

Indexes(String, Nullable<Int32>, String)

Initializes a new instance of the Indexes class.

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

Parameters

dataType
String

The datatype for which the indexing behavior is applied to. Possible values include: 'String', 'Number', 'Point', 'Polygon', 'LineString', 'MultiPolygon'

precision
Nullable<Int32>

The precision of the index. -1 is maximum precision.

kind
String

Indicates the type of index. Possible values include: 'Hash', 'Range', 'Spatial'

Applies to