AutocompleteGeocoderArgs Constructor (String, Country, LatLon, TimeSpan, ActionAutocompleteGeocoderPartialResult, AutocompleteGeocoderResultsHint) | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release Note: This API is now obsolete.
Constructs an arguments object for searching within a specific country.
Namespace:
Telogis.GeoBase.Geocoding
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax [ObsoleteAttribute("Incremental results callbacks and result hints are deprecated. Use another constructor instead.")]
public AutocompleteGeocoderArgs(
string query,
Country country,
LatLon locationHint,
TimeSpan timeout,
Action<AutocompleteGeocoderPartialResult> incrementalResultsCallback,
AutocompleteGeocoderResultsHint resultsHint
)
<ObsoleteAttribute("Incremental results callbacks and result hints are deprecated. Use another constructor instead.")>
Public Sub New (
query As String,
country As Country,
locationHint As LatLon,
timeout As TimeSpan,
incrementalResultsCallback As Action(Of AutocompleteGeocoderPartialResult),
resultsHint As AutocompleteGeocoderResultsHint
)
Parameters
- query
- Type: SystemString
The partial address string for which to search. - country
- Type: Telogis.GeoBaseCountry
The Country in which to search. - locationHint
- Type: Telogis.GeoBaseLatLon
An optional LatLon value. The location hint adds a bias towards
nearby results when there are more results than the results limit, and also influences the ranking of results. If you do
not want to use a location hint, set this parameter to Empty. - timeout
- Type: SystemTimeSpan
Specifies how long the search should continue before terminating prematurely. Specifying a timeout of
TimeSpan.Zero means that the search will not timeout. When a search times out, the
AutocompleteGeocoderResult object returned contains all suggestions found
prior to the timeout and has a status of Timeout. - incrementalResultsCallback
- Type: SystemActionAutocompleteGeocoderPartialResult
Deprecated. An optional callback to receive incremental results as they are found, in addition to
receiving the full results list on return. - resultsHint
- Type: Telogis.GeoBase.GeocodingAutocompleteGeocoderResultsHint
Deprecated. This parameter is ignored.
See Also