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


INALocator.QueryPoint Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INALocator Interface > INALocator.QueryPoint Method
ArcGIS Developer Help

INALocator.QueryPoint Method

The point for a network location.

[Visual Basic .NET]
Public Sub QueryPoint ( _
    ByVal Location As INALocation, _
    ByRef Point As IPoint _
)
[C#]
public void QueryPoint (
    INALocation Location,
    ref IPoint Point
);
[C++]
HRESULT QueryPoint(
  INALocation* Location,
  IPoint** Point
);
[C++]
Parameters
Location [in]

Location is a parameter of type INALocation* Point [in, out]
Point is a parameter of type IPoint**

Product Availability

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

Remarks

QueryPoint returns the spatial location of an NALocation.  This method may be used after calling QueryLocationByRow in order to get its spatial location.

The output geometry is returned in the spatial reference of the network dataset.  Optionally set an OutputSpatialReference on the NALocator.

See Also

INALocator Interface