GeoPosition<T> Constructor (DateTimeOffset, T)

.NET Framework (current version)
 

Initializes a new instance of the GeoPosition<T> class with a timestamp and position.

Namespace:   System.Device.Location
Assembly:  System.Device (in System.Device.dll)

public GeoPosition(
	DateTimeOffset timestamp,
	T position
)

Parameters

timestamp
Type: System.DateTimeOffset

The time the location data was obtained.

position
Type: T

The location data to use to initialize the GeoPosition<T> object.

.NET Framework
Available since 4.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: