This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkForwardStarEx Interface > INetworkForwardStarEx.RemoveRestrictionAttributes Method (ArcObjects .NET 10.4 SDK) |
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
);
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.