IStreetAddressData Interface | ![]() |
Namespace: Telogis.GeoBase.Addresses
The IStreetAddressData type exposes the following members.
Name | Description | |
---|---|---|
![]() | City |
Gets the city name.
|
![]() | Country |
Gets the Country country of the address.
(Inherited from IAddressData.) |
![]() | Fields |
Returns a list of field names that can be accessed on this IAddressData.
(Inherited from IAddressData.) |
![]() | JSONName |
Gets the JSONName of the object.
(Inherited from IJSONSerializable.) |
![]() | Location |
Gets the LatLon location of the address.
(Inherited from IAddressData.) |
![]() | PostCode |
Gets the postcode.
|
![]() | State |
Gets the state name.
|
![]() | StreetAddress |
Gets the street address string.
|
Name | Description | |
---|---|---|
![]() | FromJSON |
Initializes an object from its corresponding JSONObject source data.
(Inherited from IJSONSerializable.) |
![]() | GetT |
Gets the value from the specified fieldName.
(Inherited from IAddressData.) |
![]() | ToJSON |
Gets the JSONObject representation of the object.
(Inherited from IJSONSerializable.) |
GeocodeAddress[] address = GeoCoder.GeoCode("5537 Pine Crest Dr", "Happy Jack", "Arizona", "86024", Country.USA); IGeocodeResult result = address[0].ToGeocodeResult(); IStreetAddressData rawAddress = result.RawAddress as IStreetAddressData; string streetAddress = rawAddress.StreetAddress; string postCode = rawAddress.PostCode; string state = rawAddress.State; Country country = rawAddress.Country; IStructuredAddressData foundAddress = result.FoundAddress;