GeospatialConfig Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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