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 _
)
[C#]
public void AddRestriction (
    INetworkAttribute Attribute
);
[C++]
HRESULT AddRestriction(
  INetworkAttribute* Attribute
);
[C++]
Parameters
Attribute [in]

Attribute is a parameter of type INetworkAttribute*

Product Availability

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

Remarks

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