This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkForwardStarSetup Interface > INetworkForwardStarSetup.AddRestriction Method (ArcObjects .NET 10.4 SDK) |
Adds a restriction network attribute to the NetworkForwardStar object to filter elements returned.
[Visual Basic .NET] Public Sub AddRestriction ( _ ByVal Attribute As INetworkAttribute _ )
[C#] public void AddRestriction ( INetworkAttribute Attribute );
[C++]
HRESULT AddRestriction(
INetworkAttribute* Attribute
);
[C++]
Parameters Attribute [in]
Attribute is a parameter of type INetworkAttribute
This method has been superceded by the AddRestrictionAttribute method on the INetworkForwardStarEx interface. Please refer to that interface for usage instructions.