Restricts a turn in the adjacency queries.
[Visual Basic .NET] Public Sub AddTurnRestriction ( _ ByVal Turn As INetworkTurn _ )
[C#] public void AddTurnRestriction ( INetworkTurn Turn );
[C++]
HRESULT AddTurnRestriction(
INetworkTurn* Turn
);
[C++]Parameters
Turn [in]Turn is a parameter of type INetworkTurn
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Remarks
AddTurnRestriction restricts the input turn's associated traversal maneuver in the NetworkForwardStar. The RemoveElementRestrictions method can be used for removing all element-specific restrictions.
AddJunctionRestriction, AddEdgeRestriction, and AddTurnRestriction are intended as a replacement to INetworkForwardStarSetup::Traversable, as well as the related INetworkForwardStar::SetAllTraversable, INetworkForwardStarSetup::SetTraversable, and INetworkForwardStarSetup::NonTraversableElements.