Udostępnij za pośrednictwem


SpatialIndexDefinition<T>.Path Method

Definition

Overloads

Path(String)

Adds a path to the current SpatialPath definition.

Path(String, SpatialType[])

Add a path to the current SpatialPath definition with a particular set of SpatialTypes.

Path(String)

Adds a path to the current SpatialPath definition.

public Azure.Cosmos.Fluent.SpatialIndexDefinition<T> Path (string path);
member this.Path : string -> Azure.Cosmos.Fluent.SpatialIndexDefinition<'T>
Public Function Path (path As String) As SpatialIndexDefinition(Of T)

Parameters

path
String

Property path for the current definition. Example: /property

Returns

An instance of the current SpatialIndexDefinition<T>.

Applies to

Path(String, SpatialType[])

Add a path to the current SpatialPath definition with a particular set of SpatialTypes.

public Azure.Cosmos.Fluent.SpatialIndexDefinition<T> Path (string path, params Azure.Cosmos.Spatial.SpatialType[] spatialTypes);
member this.Path : string * Azure.Cosmos.Spatial.SpatialType[] -> Azure.Cosmos.Fluent.SpatialIndexDefinition<'T>
Public Function Path (path As String, ParamArray spatialTypes As SpatialType()) As SpatialIndexDefinition(Of T)

Parameters

path
String

Property path for the current definition. Example: /property

spatialTypes
SpatialType[]

Set of SpatialType to apply to the path.

Returns

An instance of the current SpatialIndexDefinition<T>.

Applies to