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


INetworkForwardStarSetup.AddRestriction Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

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