Sdílet prostřednictvím


CompositeIndexDefinition<T>.Path Method

Definition

Overloads

Path(String)

Add a path to the current CompositePath definition.

Path(String, CompositePathSortOrder)

Add a path to the current CompositePath definition with a particular CompositePathSortOrder.

Path(String)

Add a path to the current CompositePath definition.

public Azure.Cosmos.Fluent.CompositeIndexDefinition<T> Path (string path);
member this.Path : string -> Azure.Cosmos.Fluent.CompositeIndexDefinition<'T>
Public Function Path (path As String) As CompositeIndexDefinition(Of T)

Parameters

path
String

Property path for the current definition. Example: /property

Returns

An instance of CompositeIndexDefinition<T>.

Applies to

Path(String, CompositePathSortOrder)

Add a path to the current CompositePath definition with a particular CompositePathSortOrder.

public Azure.Cosmos.Fluent.CompositeIndexDefinition<T> Path (string path, Azure.Cosmos.CompositePathSortOrder sortOrder);
member this.Path : string * Azure.Cosmos.CompositePathSortOrder -> Azure.Cosmos.Fluent.CompositeIndexDefinition<'T>
Public Function Path (path As String, sortOrder As CompositePathSortOrder) As CompositeIndexDefinition(Of T)

Parameters

path
String

Property path for the current definition. Example: /property

sortOrder
CompositePathSortOrder

CompositePathSortOrder to apply on the path.

Returns

An instance of CompositeIndexDefinition<T>.

Applies to