This document is archived and information here might be outdated.  Recommended version.


INALocatorAgent3.QueryLocationRangesByRow Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INALocatorAgent3.QueryLocationRangesByRow Method

Find network location ranges from a row.

[Visual Basic .NET]
Public Sub QueryLocationRangesByRow ( _
    ByVal row As IRow, _
    ByRef locationRanges As INALocationRanges _
)
[C#]
public void QueryLocationRangesByRow (
    IRow row,
    ref INALocationRanges locationRanges
);
[C++]
HRESULT QueryLocationRangesByRow(
  IRow* row,
  INALocationRanges** locationRanges
);
[C++]

Parameters row [in]
row is a parameter of type IRow* locationRanges [in, out]
locationRanges is a parameter of type INALocationRanges**

Product Availability

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

Remarks

QueryLocationRangesByRow searches for location ranges based upon the inbound Row.  The result is returned as an INALocationRanges.

For a NALocatorFeatureAgent, if the row is a feature, QueryLocationRangesByRow uses the feature geometry to populate the INALocation.

For a NALocatorLocationFieldsAgent, QueryLocationRangesByRow uses the field name specified on INALocatorLocationFieldsAgent2.LocationRangesFieldName to populate the INALocation.

See Also

INALocatorAgent3 Interface