Click or drag to resize
OSRef Constructor (String) Home

Take a string formatted as a 6, 8 or 10 figure OS grid reference (e.g. "TG514131") and create a new OSRef object that represents that grid reference. The first character must be H, N, S, O or T. The second character can be any uppercase character from A through Z excluding I.

Namespace: DotNetCoords
Assembly: DotNetCoords (in DotNetCoords.dll) Version: (
public OSRef(
	string gridRef


Type: SystemString
a string representing a 6, 8 or 10 figure Ordnance Survey grid reference in the form XY123456.
ArgumentExceptionIf the northing or easting are out of range
See Also