IAddressFormatter Interface |
Namespace: Telogis.GeoBase.Addresses
The IAddressFormatter type exposes the following members.
Name | Description | |
---|---|---|
GetCountryString |
Converts the given Country into a well-formatted string for the given culture.
| |
GetLabelNames |
Returns a dictionary of LabelNames mapping to the label name in the given culture.
| |
GetLines |
Gets the lines format of the given IAddressData with the given culture.
| |
GetLinesWithCountry |
Gets the lines format with the country of the given IAddressData with the given culture.
| |
GetLocalizedUnitString(AddressUnit, String) |
Converts the given AddressUnit array into a well-formatted string for the given culture.
| |
GetLocalizedUnitString(AddressUnit, Country) |
Converts the given AddressUnit array into a well-formatted string for the given country.
| |
GetLongLineForm |
Gets the long line format of the given IAddressData with the given culture.
| |
GetLongLineFormWithCountry |
Gets the long line format with the country name of the given IAddressData with the given culture.
| |
GetOrderedComponents |
Returns the order of the properties that represent parts of an address, as a user in the
given culture might expect to enter them.
| |
GetShortLineForm |
Gets the short line format of the given IAddressData with the given culture.
| |
GetShortLineFormWithCity |
Gets the short line format with the City of the given IAddressData with the given culture.
|
GeocodeAddress[] address = GeoCoder.GeoCode("5537 Pine Crest Dr, Happy Jack, Coconina, Arizona, 86024", Country.USA); IGeocodeResult result = address[0].ToGeocodeResult(); string shortFormAddress = AddressFormatter.Default.GetShortLineForm(result.FoundAddress, "US");