GeographyPoint.Create Method (CoordinateSystem, Double, Double, Nullable<Double>, Nullable<Double>)
Creates a geography point using the specified coordinate system, latitude, longitude and dimensions.
Namespace: System.Spatial
Assembly: System.Spatial (in System.Spatial.dll)
Syntax
'Declaration
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
'Usage
Dim coordinateSystem As CoordinateSystem
Dim latitude As Double
Dim longitude As Double
Dim z As Nullable(Of Double)
Dim m As Nullable(Of Double)
Dim returnValue As GeographyPoint
returnValue = GeographyPoint.Create(coordinateSystem, _
latitude, longitude, z, m)
public static GeographyPoint Create(
CoordinateSystem coordinateSystem,
double latitude,
double longitude,
Nullable<double> z,
Nullable<double> m
)
public:
static GeographyPoint^ Create(
CoordinateSystem^ coordinateSystem,
double latitude,
double longitude,
Nullable<double> z,
Nullable<double> m
)
static member Create :
coordinateSystem:CoordinateSystem *
latitude:float *
longitude:float *
z:Nullable<float> *
m:Nullable<float> -> GeographyPoint
public static function Create(
coordinateSystem : CoordinateSystem,
latitude : double,
longitude : double,
z : Nullable<double>,
m : Nullable<double>
) : GeographyPoint
Parameters
- coordinateSystem
Type: System.Spatial.CoordinateSystem
The coordinate system to use.
- latitude
Type: System.Double
The latitude.
- longitude
Type: System.Double
The longitude.
- z
Type: System.Nullable<Double>
The z dimension.
- m
Type: System.Nullable<Double>
The m dimension.
Return Value
Type: System.Spatial.GeographyPoint
The geography point that was created.