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


INetworkForwardStarEx.RemoveElementRestrictions Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

INetworkForwardStarEx.RemoveElementRestrictions Method

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
);

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

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).

See Also

INetworkForwardStarEx Interface