共用方式為


GeospatialConfig Constructors

Definition

Overloads

GeospatialConfig()

Initializes a new instance of the GeospatialConfig class for the Azure Cosmos DB service.

GeospatialConfig(GeospatialType)

Initializes a new instance of the GeospatialConfig class for the Azure Cosmos DB service.

GeospatialConfig()

Source:
GeospatialConfig.cs

Initializes a new instance of the GeospatialConfig class for the Azure Cosmos DB service.

public GeospatialConfig ();
Public Sub New ()

Remarks

Geospatial type is set to Geography by default.

Applies to

GeospatialConfig(GeospatialType)

Source:
GeospatialConfig.cs

Initializes a new instance of the GeospatialConfig class for the Azure Cosmos DB service.

public GeospatialConfig (Microsoft.Azure.Cosmos.GeospatialType geospatialType);
new Microsoft.Azure.Cosmos.GeospatialConfig : Microsoft.Azure.Cosmos.GeospatialType -> Microsoft.Azure.Cosmos.GeospatialConfig
Public Sub New (geospatialType As GeospatialType)

Parameters

geospatialType
GeospatialType

Specifies GeospatialType of collection, which can be either Geography or Geometry

Applies to