IndexingPolicyDefinition<T>.WithCompositeIndex Method

Definition

Defines a Composite Index in the current Container's definition.

public Microsoft.Azure.Cosmos.Fluent.CompositeIndexDefinition<Microsoft.Azure.Cosmos.Fluent.IndexingPolicyDefinition<T>> WithCompositeIndex ();
member this.WithCompositeIndex : unit -> Microsoft.Azure.Cosmos.Fluent.CompositeIndexDefinition<Microsoft.Azure.Cosmos.Fluent.IndexingPolicyDefinition<'T>>
Public Function WithCompositeIndex () As CompositeIndexDefinition(Of IndexingPolicyDefinition(Of T))

Returns

CompositeIndexDefinition<IndexingPolicyDefinition<T>>

An instance of CompositeIndexDefinition<T>.

Applies to