Click or drag to resize

GeoCoderLengthenState Method

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Convert a two-letter state abbreviation to the state's full name. Given "NC" LengthenState(String, Country) will return "North Carolina".

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public static string LengthenState(
	string state,
	Country country
)

Parameters

state
Type: SystemString
Two-letter abbreviation for a state.
country
Type: Telogis.GeoBaseCountry
See Country.

Return Value

Type: String
The state name associated with the given abbreviation.
Remarks
Capitalization of the state's abbreviation is ignored.
Examples
C#
string stateName = GeoCoder.LengthenState("NC", Country.USA);
// stateName = "North Carolina"
stateName = GeoCoder.LengthenState("ny", Country.USA);
// stateName = "New York"
See Also