Click or drag to resize

LocationSearchSourceHandledResultTypes Property

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Specifies the result types handled by this source.

Namespace:  Telogis.GeoBase.Geocoding
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public abstract LocationSearchResultType HandledResultTypes { get; }

Property Value

Type: LocationSearchResultType
Remarks

This property is checked prior to calling IsApplicableToSearch(LocationSearchBaseArgs). If there are no types in common between the search arguments' result types and the value of this property, then IsApplicableToSearch(LocationSearchBaseArgs) is not called and the source will not be searched.

It is preferable to design search sources so that they only handle a minimal number of result types, instead splitting sources into multiple sources when supporting different types. This is desirable because if any types are excluded by GetIgnoredTypesForApplicableSearches(LocationSearchBaseArgs) or GetIgnoredTypesForMatchingSearches(LocationSearchBaseArgs), a source will still be searched if any of its handled types are not excluded. Any results from these sources that have excluded types may still be included, since there is no requirement that result types specified in search arguments as the same types used in results.

See Also