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


INetworkForwardStarEx.RestrictionAttribute Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkForwardStarEx Interface > INetworkForwardStarEx.RestrictionAttribute Property
ArcGIS Developer Help

INetworkForwardStarEx.RestrictionAttribute Property

Restriction network attribute by index in the NetworkForwardStar object.

[Visual Basic .NET]
Public Function get_RestrictionAttribute ( _
    ByVal Index As Integer _
) As INetworkAttribute
[C#]
public INetworkAttribute get_RestrictionAttribute (
    int Index
);
[C++]
HRESULT get_RestrictionAttribute(
  long Index,
  INetworkAttribute** Attribute
);
[C++]
Parameters
Index [in]

Index is a parameter of type long Attribute [out, retval]
Attribute is a parameter of type INetworkAttribute**

Product Availability

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

Remarks

The RestrictionAttribute property gets the NetworkAttribute, identified by index, that is being used to apply restrictions in the NetworkForwardStar object. The network attribute was added to the NetworkForwardStar using the AddRestrictionAttribute method.

The index values range from 0 to (RestrictionAttributeCount - 1).

See Also

INetworkForwardStarEx Interface