GeoPosition<'T> Constructor (DateTimeOffset, 'T)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

new : 
        timestamp:DateTimeOffset *
        position:'T -> GeoPosition

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: