GeographyPoint.Create Method (Double, Double)
Creates a geography point using the specified latitude and longitude.
Namespace: System.Spatial
Assembly: System.Spatial (in System.Spatial.dll)
Syntax
'Declaration
Public Shared Function Create ( _
latitude As Double, _
longitude As Double _
) As GeographyPoint
'Usage
Dim latitude As Double
Dim longitude As Double
Dim returnValue As GeographyPoint
returnValue = GeographyPoint.Create(latitude, _
longitude)
public static GeographyPoint Create(
double latitude,
double longitude
)
public:
static GeographyPoint^ Create(
double latitude,
double longitude
)
static member Create :
latitude:float *
longitude:float -> GeographyPoint
public static function Create(
latitude : double,
longitude : double
) : GeographyPoint
Parameters
- latitude
Type: System.Double
The latitude.
- longitude
Type: System.Double
The longitude.
Return Value
Type: System.Spatial.GeographyPoint
The geography point that was created.