Click or drag to resize

RelativeSourceIsValidOuterQuery Method

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Overridden by subclasses to determine wheter an outer query (i.e., the portion of the query describing the type of result to return, such as "hotels" in "hotels near aliso viejo") is valid. Generally, this method should return true only if the outer query is fully formed (i.e., not a prefix). The source is applicable if, and only if, this method returns true; this method will only be called if the query is a relative query, and subclasses should override this method instead of IsApplicableToSearch(LocationSearchBaseArgs). By default, further sources will not be searched if this method returns true.

Namespace:  Telogis.GeoBase.Geocoding
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public abstract bool IsValidOuterQuery(
	string outerQuery,
	RelativeSourceRelativeQueryType relativeType,
	LocationSearchBaseArgs args
)

Parameters

outerQuery
Type: SystemString
The outer query, in lower case.
relativeType
Type: Telogis.GeoBase.GeocodingRelativeSourceRelativeQueryType
The relation type specified in the query.
args
Type: Telogis.GeoBase.GeocodingLocationSearchBaseArgs
The search arguments.

Return Value

Type: Boolean
Whether the outer query is valid.
See Also