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