The OSRef type exposes the following members.

Collapse imageConstructors

  NameDescription
Public methodOSRefOverloaded.

Collapse imageMethods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToLatLng
Convert this OSGB grid reference to a latitude/longitude pair using the OSGB36 datum. Note that, the LatLng object may need to be converted to the WGS84 datum depending on the application.
(Overrides CoordinateSystem..::.ToLatLng()()().)
Public methodToSixFigureString
Return a String representation of this OSGB grid reference using the six-figure notation in the form XY123456.
Public methodToString
Return a string representation of this OSGB grid reference showing the easting and northing.
(Overrides Object..::.ToString()()().)

Collapse imageProperties

  NameDescription
Public propertyDatum
Gets the datum.
(Inherited from CoordinateSystem.)
Public propertyEasting
Gets or sets the easting in metres relative to the origin of the British National Grid..
Public propertyNorthing
Gets or sets the northing in metres relative to the origin of the British National Grid.

Collapse imageSee Also