GeoPosition<T> Constructors
Definition
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.
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.