This document is archived and information here might be outdated. Recommended version. |
For the adjacent edge element at the specified index, queries the junction element opposite of the atJunction.
[Visual Basic .NET] Public Sub QueryToJunction ( _ ByVal Index As Integer, _ ByVal adjacentJunction As INetworkJunction, _ ByRef IsFiltered As Boolean _ )
[C#] public void QueryToJunction ( int Index, INetworkJunction adjacentJunction, ref bool IsFiltered );
[C++]
HRESULT QueryToJunction(
long Index,
INetworkJunction* adjacentJunction,
Boolean* IsFiltered
);
[C++] Parameters Index [in]
Index is a parameter of type long adjacentJunction [in]
adjacentJunction is a parameter of type INetworkJunction* IsFiltered [out]
IsFiltered is a parameter of type bool*
The QueryToJunction method returns the junction element that is opposite the atJunction via the QueryEdge edge element at the specified index.
The index values range from 0 to (Count - 1).
The QueryToJunction method requires an instantiated NetworkJunction object to be passed in as a parameter. You can create an empty NetworkJunction object by using the INetworkQuery::CreateNetworkElement method.