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