GeographyPoint.Create Method
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
Create(Double, Double) |
Creates a geography point using the specified latitude and longitude. |
Create(Double, Double, Nullable<Double>) |
Creates a geography point using the specified latitude, longitude and dimension. |
Create(Double, Double, Nullable<Double>, Nullable<Double>) |
Creates a geography point using the specified latitude, longitude and dimensions. |
Create(CoordinateSystem, Double, Double, Nullable<Double>, Nullable<Double>) |
Creates a geography point using the specified coordinate system, latitude, longitude and dimensions. |
Create(Double, Double)
Creates a geography point using the specified latitude and longitude.
public static Microsoft.Spatial.GeographyPoint Create (double latitude, double longitude);
static member Create : double * double -> Microsoft.Spatial.GeographyPoint
Public Shared Function Create (latitude As Double, longitude As Double) As GeographyPoint
Parameters
- latitude
- Double
The latitude.
- longitude
- Double
The longitude.
Returns
The geography point that was created.
Applies to
Create(Double, Double, Nullable<Double>)
Creates a geography point using the specified latitude, longitude and dimension.
public static Microsoft.Spatial.GeographyPoint Create (double latitude, double longitude, double? z);
static member Create : double * double * Nullable<double> -> Microsoft.Spatial.GeographyPoint
Public Shared Function Create (latitude As Double, longitude As Double, z As Nullable(Of Double)) As GeographyPoint
Parameters
- latitude
- Double
The latitude.
- longitude
- Double
The longitude.
Returns
The geography point that was created.
Applies to
Create(Double, Double, Nullable<Double>, Nullable<Double>)
Creates a geography point using the specified latitude, longitude and dimensions.
public static Microsoft.Spatial.GeographyPoint Create (double latitude, double longitude, double? z, double? m);
static member Create : double * double * Nullable<double> * Nullable<double> -> Microsoft.Spatial.GeographyPoint
Public Shared Function Create (latitude As Double, longitude As Double, z As Nullable(Of Double), m As Nullable(Of Double)) As GeographyPoint
Parameters
- latitude
- Double
The latitude.
- longitude
- Double
The longitude.
Returns
The geography point that was created.
Applies to
Create(CoordinateSystem, Double, Double, Nullable<Double>, Nullable<Double>)
Creates a geography point using the specified coordinate system, latitude, longitude and dimensions.
public static Microsoft.Spatial.GeographyPoint Create (Microsoft.Spatial.CoordinateSystem coordinateSystem, double latitude, double longitude, double? z, double? m);
static member Create : Microsoft.Spatial.CoordinateSystem * double * double * Nullable<double> * Nullable<double> -> Microsoft.Spatial.GeographyPoint
Public Shared Function Create (coordinateSystem As CoordinateSystem, latitude As Double, longitude As Double, z As Nullable(Of Double), m As Nullable(Of Double)) As GeographyPoint
Parameters
- coordinateSystem
- CoordinateSystem
The coordinate system to use.
- latitude
- Double
The latitude.
- longitude
- Double
The longitude.
Returns
The geography point that was created.