GeoCoderGeoCode Method (Int32, String, String, String, String, String, String, String, String, Country, Int32) | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Use forward geocoding to resolve an address (specified as separate fields), city, region, postal code and
Country
to one or more
GeocodeAddresses.
Namespace:
Telogis.GeoBase
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax public static GeocodeAddress[] GeoCode(
int number,
string prefix,
string bf_type,
string name,
string af_type,
string suffix,
string city,
string region,
string postalCode,
Country country,
int maxResults
)
Public Shared Function GeoCode (
number As Integer,
prefix As String,
bf_type As String,
name As String,
af_type As String,
suffix As String,
city As String,
region As String,
postalCode As String,
country As Country,
maxResults As Integer
) As GeocodeAddress()
Parameters
- number
- Type: SystemInt32
An integer representing the street number. - prefix
- Type: SystemString
A string representing the street prefix, such as 'chemin' or 'north'. - bf_type
- Type: SystemString
A string representing the street type (before), such as 'rue' or 'boulevard'. - name
- Type: SystemString
A string representing the street name. - af_type
- Type: SystemString
A string representing the street type (after), such as 'street', 'avenue' or 'road'. - suffix
- Type: SystemString
A string representing the street suffix, such as 'north', 'central' or 'loop'. - city
- Type: SystemString
A string representing the city. - region
- Type: SystemString
A string representing the region or state (two character state abbreviations may also be used). - postalCode
- Type: SystemString
A string representing the postal code. - country
- Type: Telogis.GeoBaseCountry
The Country to perform the GeoCode in. - maxResults
- Type: SystemInt32
The maximum number of results to return.
Return Value
Type:
GeocodeAddressAn array of
GeocodeAddresses.
Remarks Examples
GeocodeAddress[] addr = GeoCoder.GeoCode(29500, "via", "null", "alto cero", "null", "null", "laguna niguel", "California", "92677", Country.USA, 5);
Console.WriteLine("Found address {0}", addr[0].ToString());
See Also