ArcObjects Library Reference (GeoDatabase)  

INetworkQuery.QueryJunction Method

Performs a network junction element query by element ID and populates the given junction element object.

[Visual Basic .NET]
Public Sub QueryJunction ( _
    ByVal EID As Integer, _
    ByVal Junction As INetworkJunction _
)
[C#]
public void QueryJunction (
    int EID,
    INetworkJunction Junction
);
[C++]
HRESULT QueryJunction(
  long EID,
  INetworkJunction* Junction
);
[C++]

Parameters

EID [in]   EID is a parameter of type long Junction [in]

  Junction is a parameter of type INetworkJunction

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

The QueryJunction method requires an instantiated NetworkJunction object to be passed in as a parameter.  You can create an empty NetworkJunction object by using the CreateNetworkElement method.

See Also

INetworkQuery Interface