LocationSearchSource Methods |
The LocationSearchSource type exposes the following members.
Name | Description | |
---|---|---|
CreateSearchOperation |
Create and return a new search operation for the search source, using the provided
arguments. The search operation should be returned unstarted.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetCustomSearchArgs |
Returns a list of custom arguments for this search source that can be specified
in the CustomArgs
property of a LocationSearchBaseArgs object.
Argument names are automatically prefixed by the search source group name or name when
presented to users of LocationSearch, however
will always be provided to individual search sources without these prefixes.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetIgnoredTypesForApplicableSearches |
Specifies result types that will be excluded for search sources with a lower priority than
this when IsApplicableToSearch(LocationSearchBaseArgs)
returns true for the same search arguments. This could be used, for example, to restrict
further searching for queries that match a format specific to this source, but for which
there are no results.
| |
GetIgnoredTypesForMatchingSearches |
Specifies result types that will be excluded for search sources with a lower priority than
this when the source returns any results. If it does not return results, searching of other
sources will continue as normal. This should generally be used only when the presence of
results from this source implies that results from other sources are unlikely.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsApplicableToSearch |
Determines whether the search source is applicable for a particular search.
| |
PriorityForSearch |
Determines the priority of the search source for a particular search. The priority is
used to determine the order in which search sources are queried; sources with a higher
priority are searched first.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |