GeoPosition<T> Class
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.
Contains location data of a type specified by the type parameter of the GeoPosition<T> class.
generic <typename T>
public ref class GeoPosition
public class GeoPosition<T>
type GeoPosition<'T> = class
Public Class GeoPosition(Of T)
Type Parameters
- T
The type of the location data.
- Inheritance
-
GeoPosition<T>
Constructors
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. |
Properties
Location |
Gets or sets the location data for the GeoPosition<T> object. |
Timestamp |
Gets or sets the time when the location data was obtained. |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |