Partilhar via


IndexingPolicyDefinition<T>.WithSpatialIndex Método

Definição

Define um Azure.Cosmos.SpatialIndex na definição do atual CosmosContainer.

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

Retornos

Uma instância de SpatialIndexDefinition<T>.

Aplica-se a