Dela via


ContainerDefinition<T>.WithIndexingPolicy Method

Definition

IndexingPolicy definition for the current Azure Cosmos container.

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

Returns

An instance of IndexingPolicyDefinition<T>.

Applies to