GeoPosition<T> Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the GeoPosition<T> class.
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. |
Initializes a new instance of the GeoPosition<T> class.
public:
GeoPosition();
public GeoPosition ();
Public Sub New ()
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 |
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
.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 |
.NET-tilbakemelding
.NET er et åpen kilde-prosjekt. Velg en kobling for å gi tilbakemelding: