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


INASolverForwardStar.CreateForwardStar Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INASolverForwardStar Interface > INASolverForwardStar.CreateForwardStar Method
ArcGIS Developer Help

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
);
[C++]
Parameters
Context [in]

Context is a parameter of type INAContext* IsForwardTraversal [in]
IsForwardTraversal is a parameter of type bool

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