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


ISMRestriction.Attribute Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (DataSourcesFile)  

ISMRestriction.Attribute Property

The network attribute used as a restriction.

[Visual Basic .NET]
Public Property Attribute As SMNetAttribute
[C#]
public SMNetAttribute Attribute {get; set;}
[C++]
HRESULT get_Attribute(
  ISMNetAttribute** pAttr
);
[C++]
HRESULT putref_Attribute(
  ISMNetAttribute* pAttr
);
[C++]

Parameters pAttr [out, retval]
pAttr is a parameter of type ISMNetAttribute pAttr [in]
pAttr is a parameter of type ISMNetAttribute

Product Availability

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

See Also

ISMRestriction Interface

.NET Samples

StreetMap routing (Code Files: RestrictionsForm)