This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkForwardStarEx Interface > INetworkForwardStarEx.RemoveElementRestrictions Method (ArcObjects .NET 10.5 SDK) |
Removes all element-specific restrictions currently applied to the NetworkForwardStar object.
[Visual Basic .NET]
Public Sub RemoveElementRestrictions ( _
)
[C#] public void RemoveElementRestrictions ( );
[C++]
HRESULT RemoveElementRestrictions(
void
);
RemoveElementRestrictions removes all element-specific restrictions that have been added to the NetworkForwardStar via the AddEdgeRestriction, AddJunctionRestriction, or AddTurnRestriction methods.
Removing element-specific restrictions with this method does not affect filtering of elements in the NetworkForwardStar based on restriction attributes (i.e., elements may still be restricted by their restriction attribute values).