StructuredGeoCodeArgs Class |
Namespace: Telogis.GeoBase.Geocoding
The StructuredGeoCodeArgs type exposes the following members.
Name | Description | |
---|---|---|
StructuredGeoCodeArgs | Initializes a new instance of the StructuredGeoCodeArgs class |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Address |
The street number and street of the address.
| |
City |
The city to be searched.
| |
Country |
The country to search.
(Inherited from GeoCodeArgs.) | |
MaxResults |
The maximum number of results to return.
(Inherited from GeoCodeArgs.) | |
PostalCode |
The postal code to be searched.
| |
Region |
The region to be searched.
| |
UseExternalGeocoder |
Use external geocoder if available
(Inherited from GeoCodeArgs.) | |
UseInternalGeocoder |
Use the built-in geocoder
(Inherited from GeoCodeArgs.) |
// Create a StructuredGeoCodeArgs object var StructuredArgs = new Telogis.GeoBase.Geocoding.StructuredGeoCodeArgs() { Address = "20 Enterprise", City = "Aliso Viejo", Region = "California", PostalCode = "92656", MaxResults = 5, Country = Country.USA }; // Pass the object to the Geocoder GeocodeAddress[] StructuredArgsArray = GeoCoder.GeoCode(StructuredArgs);