ArcObjects Library Reference (NetworkAnalyst)  

INALocator.QueryLocationByRow Method

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,
  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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Description

 

Remarks

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.

See Also

INALocator Interface