Export (0) Print
Expand All

GeographyPoint.Create Method (CoordinateSystem, Double, Double, Nullable<Double>, Nullable<Double>)

WCF Data Services 5.0

Creates a geography point using the specified coordinate system, latitude, longitude and dimensions.

Namespace:  System.Spatial
Assembly:  System.Spatial (in System.Spatial.dll)

public static GeographyPoint Create(
	CoordinateSystem coordinateSystem,
	double latitude,
	double longitude,
	Nullable<double> z,
	Nullable<double> m
)

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.
Show:
© 2014 Microsoft