This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INALocator3 Interface > INALocator3.QueryLocationRangesByRow Method (ArcObjects .NET 10.4 SDK) |
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
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.