This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkForwardStarAdjacencies Interface > INetworkForwardStarAdjacencies.QueryToJunction Method (ArcObjects .NET 10.4 SDK) |
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,
VARIANT_BOOL* 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 VARIANT_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.