This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkTurn Interface > INetworkTurn.QueryAtJunction Method (ArcObjects .NET 10.4 SDK) |
Queries the at-junction of this network turn.
[Visual Basic .NET] Public Sub QueryAtJunction ( _ ByVal Junction As INetworkJunction _ )
[C#] public void QueryAtJunction ( INetworkJunction Junction );
[C++]
HRESULT QueryAtJunction(
INetworkJunction* Junction
);
[C++]
Parameters Junction [in]
Junction is a parameter of type INetworkJunction
The QueryAtJunction method retrieves the junction element that anchors this turn element. The anchor junction of a turn element is the junction connecting the last two edges that the turn traverses.
This method requires an instantiated NetworkJunction object to be passed in as a parameter. You can create an empty NetworkTurn object by using the INetworkQuery::CreateNetworkElement method.