ArcObjects Library Reference (DataSourcesFile)  

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(
  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

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