This document is archived and information here might be outdated. Recommended version. |
Indicates if the closest location (only) should be returned.
[Visual Basic .NET]
Public Property FindClosestAmongAllAgents As Boolean
[C#]
public bool FindClosestAmongAllAgents {get; set;}
[C++]
HRESULT get_FindClosestAmongAllAgents(
VARIANT_BOOL findClosest
);
[C++]
HRESULT put_FindClosestAmongAllAgents(
Boolean* findClosest
);
[C++] Parameters findClosest [in]
findClosest is a parameter of type bool findClosest [out, retval]
findClosest is a parameter of type bool*
FindClosestAmongAllAgents specifies if you want to search among all locator agents or not.
When you have many network sources, you may want to stop once you find a location within the search tolerance of one of the agents. If this is the case, set FindClosestAmongAllAgents to false and the first locator to find a location will stop the search.