Megosztás a következőn keresztül:


Position Constructors

Definition

Overloads

Position(IList<Double>)

Initializes a new instance of the Position class in the Azure Cosmos DB service.

Position(Double, Double)

Initializes a new instance of the Position class in the Azure Cosmos DB service.

Position(Double, Double, Nullable<Double>)

Initializes a new instance of the Position class in the Azure Cosmos DB service.

Position(IList<Double>)

Source:
Position.cs

Initializes a new instance of the Position class in the Azure Cosmos DB service.

public Position (System.Collections.Generic.IList<double> coordinates);
new Microsoft.Azure.Cosmos.Spatial.Position : System.Collections.Generic.IList<double> -> Microsoft.Azure.Cosmos.Spatial.Position
Public Sub New (coordinates As IList(Of Double))

Parameters

coordinates
IList<Double>

Position values.

Applies to

Position(Double, Double)

Source:
Position.cs

Initializes a new instance of the Position class in the Azure Cosmos DB service.

public Position (double longitude, double latitude);
new Microsoft.Azure.Cosmos.Spatial.Position : double * double -> Microsoft.Azure.Cosmos.Spatial.Position
Public Sub New (longitude As Double, latitude As Double)

Parameters

longitude
Double

Longitude value.

latitude
Double

Latitude value.

Applies to

Position(Double, Double, Nullable<Double>)

Source:
Position.cs

Initializes a new instance of the Position class in the Azure Cosmos DB service.

public Position (double longitude, double latitude, double? altitude);
new Microsoft.Azure.Cosmos.Spatial.Position : double * double * Nullable<double> -> Microsoft.Azure.Cosmos.Spatial.Position
Public Sub New (longitude As Double, latitude As Double, altitude As Nullable(Of Double))

Parameters

longitude
Double

Longitude value.

latitude
Double

Latitude value.

altitude
Nullable<Double>

Optional altitude value.

Applies to