IndexingPolicyDefinition<T>.WithIndexingMode(IndexingMode) Method

Definition

Defines the Container's IndexingMode.

public Microsoft.Azure.Cosmos.Fluent.IndexingPolicyDefinition<T> WithIndexingMode (Microsoft.Azure.Cosmos.IndexingMode indexingMode);
member this.WithIndexingMode : Microsoft.Azure.Cosmos.IndexingMode -> Microsoft.Azure.Cosmos.Fluent.IndexingPolicyDefinition<'T>
Public Function WithIndexingMode (indexingMode As IndexingMode) As IndexingPolicyDefinition(Of T)

Parameters

indexingMode
IndexingMode

An IndexingMode

Returns

IndexingPolicyDefinition<T>

An instance of IndexingPolicyDefinition<T>.

Remarks

If multiple calls are made to this method within the same IndexingPolicyDefinition<T>, the last one will apply.

Applies to