ArcObjects Library Reference (NetworkAnalyst)  

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