This document is archived and information here might be outdated.  Recommended version.


INASolverForwardStar.CreateForwardStar Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INASolverForwardStar.CreateForwardStar Method

Creates a network dataset forward star which honors the current solver settings as well as any barriers.

[Visual Basic .NET]
Public Function CreateForwardStar ( _
    ByVal Context As INAContext, _
    ByVal IsForwardTraversal As Boolean _
) As INetworkForwardStarEx
[C#]
public INetworkForwardStarEx CreateForwardStar (
    INAContext Context,
    bool IsForwardTraversal
);
[C++]
HRESULT CreateForwardStar(
  INAContext* Context,
  VARIANT_BOOL IsForwardTraversal,
  INetworkForwardStarEx** ForwardStar
);
[C++]

Parameters Context [in]
Context is a parameter of type INAContext IsForwardTraversal [in] IsForwardTraversal is a parameter of type VARIANT_BOOL ForwardStar [out, retval]
ForwardStar is a parameter of type INetworkForwardStarEx

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Remarks

CreateForwardStar will generate a NetworkForwardStar object prepared with the settings specified on the current solver and the INAContext that is passed in. The returned NetworkForwardStar object will have the INetworkForwardStarEx::IsForwardTraversal value set to match the value of the IsForwardTraversal Boolean that is passed in to CreateForwardStar.

See Also

INASolverForwardStar Interface