Export (0) Print
Expand All

GeoPosition(T) Constructor (DateTimeOffset, T)

.NET Framework 4.6 and 4.5

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

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft