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.
Applies to
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente GitHub Issues como mecanismo de comentarios sobre el contenido y lo sustituiremos por un nuevo sistema de comentarios. Para más información, vea:Enviar y ver comentarios de