ArcObjects Library Reference (NetworkAnalyst)  

INALocator3.QueryLocationRangesByRow Method

Use the locator agents to find a 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

Using the inbound Row object, the method calls QueryLocationRangesByRow on each of its associated NALocatorAgent classes. 

Generally, the NALocator used for this method should be retrieved from a NAContext.  However, if you do create a NALocator, or have added a new locator agent, then, before querying the NALocator, Bind should be called on the NALocator to set up the locator agents and associate it with the NetworkDataset.

See Also

INALocator3 Interface