This document is archived and information here might be outdated. Recommended version. |
Use the locator agents to find a network location from a row.
[Visual Basic .NET] Public Sub QueryLocationByRow ( _ ByVal row As IRow, _ ByRef Location As INALocation, _ ByRef distanceFromRow As Double _ )
[C#] public void QueryLocationByRow ( IRow row, ref INALocation Location, ref double distanceFromRow );
[C++]
HRESULT QueryLocationByRow(
IRow* row,
INALocation** Location,
System.Double* distanceFromRow
);
[C++] Parameters row [in]
row is a parameter of type IRow* Location [in, out]
Location is a parameter of type INALocation** distanceFromRow [in, out]
distanceFromRow is a parameter of type double*
Using the inbound Row object, the method calls QueryLocationByRow on each of its associated NALocatorAgent classes. If FindClosestAmongAllAgents is false, it will return after the first locator succeeds in finding a location.