Export (0) Print
Expand All

GeographyPosition Class

WCF Data Services 5.0

Represents one position in the geographical coordinate system.

System.Object
  System.Spatial.GeographyPosition

Namespace:  System.Spatial
Assembly:  System.Spatial (in System.Spatial.dll)

public class GeographyPosition : IEquatable<GeographyPosition>

The GeographyPosition type exposes the following members.

  NameDescription
Public methodGeographyPosition(Double, Double)Creates a new instance of the GeographyPosition class from components.
Public methodGeographyPosition(Double, Double, Nullable<Double>, Nullable<Double>)Creates a new instance of the GeographyPosition class from components.
Top

  NameDescription
Public propertyLatitudeGets the latitude portion of a position.
Public propertyLongitudeGets the longitude portion of a position.
Public propertyMGets the arbitrary measure associated with a position.
Public propertyZGets the altitude portion of a position.
Top

  NameDescription
Public methodEquals(Object)Performs equality comparison on an object. (Overrides Object.Equals(Object).)
Public methodEquals(GeographyPosition)Performs equality comparison on a spatial geographic position.
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCodeComputes a hash code. (Overrides Object.GetHashCode().)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringFormats this instance to a readable string. (Overrides Object.ToString().)
Top

  NameDescription
Public operatorStatic memberEqualityPerforms equality comparison.
Public operatorStatic memberInequalityPerforms inequality comparison.
Top

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