Redigera

Dela via


GeoPosition<T> Class

Definition

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)

Applies to