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


ISMRouter.NetAttributeName Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesFile > ESRI.ArcGIS.DataSourcesFile > Interfaces > IS > ISMRouter Interface > ISMRouter.NetAttributeName Property
ArcGIS Developer Help

ISMRouter.NetAttributeName Property

The network attribute that the router object currently uses.

[Visual Basic .NET]
Public Property NetAttributeName As String
[C#]
public string NetAttributeName {get; set;}
[C++]
HRESULT get_NetAttributeName(
void
);
[C++]
HRESULT put_NetAttributeName(
);

Product Availability

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

Description

Returns the network attribute that the router object currently uses.

Remarks

Currently SMRouter supports two network attributes: "Time" and "Length". Assign the NetAttributeName value "Time" if you want to find the quickest route. Assign the NetAttributeName value "Length" if you want to find the shortest route.

See Also

ISMRouter Interface