Edit

Share via


GeoPosition<T> Constructors

Definition

Initializes a new instance of the GeoPosition<T> class.

Overloads

GeoPosition<T>()

Initializes a new instance of the GeoPosition<T> class.

GeoPosition<T>(DateTimeOffset, T)

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

GeoPosition<T>()

Initializes a new instance of the GeoPosition<T> class.

public:
 GeoPosition();
public GeoPosition ();
Public Sub New ()

Applies to

GeoPosition<T>(DateTimeOffset, T)

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

public:
 GeoPosition(DateTimeOffset timestamp, T position);
public GeoPosition (DateTimeOffset timestamp, T position);
new System.Device.Location.GeoPosition<'T> : DateTimeOffset * 'T -> System.Device.Location.GeoPosition<'T>
Public Sub New (timestamp As DateTimeOffset, position As T)

Parameters

timestamp
DateTimeOffset

The time the location data was obtained.

position
T

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

Applies to