This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkForwardStarSetup Interface > INetworkForwardStarSetup.SetTraversable Method (ArcObjects .NET 10.4 SDK) |
Sets the given network elements to be traversable or non-traversable.
[Visual Basic .NET] Public Sub SetTraversable ( _ ByVal Elements As IEnumNetworkElement, _ ByVal Traversable As Boolean _ )
[C#] public void SetTraversable ( IEnumNetworkElement Elements, bool Traversable );
[C++]
HRESULT SetTraversable(
IEnumNetworkElement* Elements,
VARIANT_BOOL Traversable
);
[C++]
Parameters Elements [in]
Elements is a parameter of type IEnumNetworkElement Traversable [in] Traversable is a parameter of type VARIANT_BOOL
The SetTraversable method with a Traversable parameter value of True sets all network elements in the given enumeration as Traversable.
The SetTraversable method with a Traversable parameter value of False sets all network elements in the given enumeration as not Traversable.