This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > DataSourcesFile > ESRI.ArcGIS.DataSourcesFile > Interfaces > IS > ISMRouter Interface > ISMRouter.NetAttributeName Property (ArcObjects .NET 10.4 SDK) |
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(
BSTR* pVal
);
[C++]
HRESULT put_NetAttributeName(
BSTR pVal
);
[C++]
Parameters pVal [out, retval] pVal is a parameter of type BSTR pVal [in] pVal is a parameter of type BSTR
Returns the network attribute that the router object currently uses.
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.