GeoCoderLengthenState Method | |
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
)
Public Shared Function LengthenState (
state As String,
country As Country
) As String
Parameters
- state
- Type: SystemString
Two-letter abbreviation for a state. - country
- Type: Telogis.GeoBaseCountry
See Country.
Return Value
Type:
StringThe state name associated with the given abbreviation.
Remarks Capitalization of the state's abbreviation is ignored.
Examples string stateName = GeoCoder.LengthenState("NC", Country.USA);
stateName = GeoCoder.LengthenState("ny", Country.USA);
See Also