Dela via


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)

Source:
CompositeIndexDefinition.cs

Add a path to the current CompositePath definition.

public Microsoft.Azure.Cosmos.Fluent.CompositeIndexDefinition<T> Path (string path);
member this.Path : string -> Microsoft.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)

Source:
CompositeIndexDefinition.cs

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

public Microsoft.Azure.Cosmos.Fluent.CompositeIndexDefinition<T> Path (string path, Microsoft.Azure.Cosmos.CompositePathSortOrder sortOrder);
member this.Path : string * Microsoft.Azure.Cosmos.CompositePathSortOrder -> Microsoft.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