GeoPosition(T) Class

GeoPosition<T> Class

.NET Framework (current version)
 

Contains location data of a type specified by the type parameter of the GeoPosition<T> class.

Namespace:   System.Device.Location
Assembly:  System.Device (in System.Device.dll)

System.Object
  System.Device.Location.GeoPosition<T>

public class GeoPosition<T>

Type Parameters

T

The type of the location data.

NameDescription
System_CAPS_pubmethodGeoPosition<T>()

Initializes a new instance of the GeoPosition<T> class.

System_CAPS_pubmethodGeoPosition<T>(DateTimeOffset, T)

Initializes a new instance of the GeoPosition<T> class with a timestamp and position.

NameDescription
System_CAPS_pubpropertyLocation

Gets or sets the location data for the GeoPosition<T> object.

System_CAPS_pubpropertyTimestamp

Gets or sets the time when the location data was obtained.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
Available since 4.0
Windows Phone Silverlight
Available since 7.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft