This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkForwardStarEx Interface > INetworkForwardStarEx.RestrictionAttribute Property (ArcObjects .NET 10.5 SDK) |
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
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).