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 ();

Applies to

.NET Framework 4.8.1 og andre versjoner
Produkt Versjoner
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

GeoPosition<T>(DateTimeOffset, T)

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

public GeoPosition (DateTimeOffset timestamp, T position);

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

.NET Framework 4.8.1 og andre versjoner
Produkt Versjoner
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1