This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INASolverForwardStar Interface > INASolverForwardStar.CreateForwardStar Method (ArcObjects .NET 10.5 SDK) |
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
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.