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


INetworkForwardStarEx.RemoveRestrictionAttributes Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkForwardStarEx Interface > INetworkForwardStarEx.RemoveRestrictionAttributes Method
ArcGIS Developer Help

INetworkForwardStarEx.RemoveRestrictionAttributes Method

Removes all restriction network attributes currently applied to the NetworkForwardStar object.

[Visual Basic .NET]
Public Sub RemoveRestrictionAttributes ( _
)
[C#]
public void RemoveRestrictionAttributes (
);
[C++]
HRESULT RemoveRestrictionAttributes(
void
);

Product Availability

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

Remarks

The RemoveRestrictionAttributes method removes the NetworkAttributes of usage type restriction from being applied as a restriction in the NetworkForwardStar object. The network attributes were added to the NetworkForwardStar using the AddRestrictionAttribute method.

RemoveRestrictionAttributes is analogous to INetworkForwardStarSetup::RemoveRestriction method. However, RemoveRestriction could be used to remove an individual attribute.

See Also

INetworkForwardStarEx Interface