Click or drag to resize

IOneLineAddressData Interface

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
An interface which inherits IAddressData. IOneLineAddressData contains the address as a single line of text. This represents an unstructured address and is used to store input in the one line geocoder.

Namespace:  Telogis.GeoBase.Addresses
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public interface IOneLineAddressData : IAddressData, 
	IJSONSerializable

The IOneLineAddressData type exposes the following members.

Properties
  NameDescription
Public propertyCountry
Gets the Country country of the address.
(Inherited from IAddressData.)
Public propertyFields
Returns a list of field names that can be accessed on this IAddressData.
(Inherited from IAddressData.)
Public propertyFullAddress
Gets the entire address string.
Public propertyJSONName
Gets the JSONName of the object.
(Inherited from IJSONSerializable.)
Public propertyLocation
Gets the LatLon location of the address.
(Inherited from IAddressData.)
Top
Methods
  NameDescription
Public methodFromJSON
Initializes an object from its corresponding JSONObject source data.
(Inherited from IJSONSerializable.)
Public methodGetT
Gets the value from the specified fieldName.
(Inherited from IAddressData.)
Public methodToJSON
Gets the JSONObject representation of the object.
(Inherited from IJSONSerializable.)
Top
Examples
C#
GeocodeAddress[] address = GeoCoder.GeoCode("5537 Pine Crest Dr, Happy Jack, Coconina, Arizona, 86024", Country.USA);
IGeocodeResult result = address[0].ToGeocodeResult();

IOneLineAddressData rawAddress = result.RawAddress as IOneLineAddressData;

string fullAddress = rawAddress.FullAddress;
Country country = rawAddress.Country;
LatLon location = rawAddress.Location;

IStructuredAddressData foundAddress = result.FoundAddress;
See Also