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

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

INetworkForwardStarSetup.AddRestriction Method

Adds a restriction network attribute to the NetworkForwardStar object to filter elements returned.

[Visual Basic .NET]
Public Sub AddRestriction ( _
    ByVal Attribute As INetworkAttribute _
public void AddRestriction (
    INetworkAttribute Attribute
HRESULT AddRestriction(
  INetworkAttribute* Attribute
Attribute [in]

Attribute is a parameter of type INetworkAttribute*

Product Availability

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


This method has been superceded by the AddRestrictionAttribute method on the INetworkForwardStarEx interface. Please refer to that interface for usage instructions.

See Also

INetworkForwardStarSetup Interface