The name of the network attribute to be used for reporting travel distances.
[Visual Basic .NET] Public Property LengthAttributeName As String
[C#] public string LengthAttributeName {get; set;}
[C++]
HRESULT get_LengthAttributeName(
BSTR* Name
);
[C++]
HRESULT put_LengthAttributeName(
BSTR Name
);
[C++]Parameters
Name [out, retval] Name is a parameter of type BSTR Name [in] Name is a parameter of type BSTR
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Remarks
The LengthAttributeName property is the attribute that will be used for distance measurements. The attribute must have a units value from the esriNetworkAttributeUnits enumeration that corresponds to a distance measurement and must be a Cost attribute. This does not have to be same value as specified in the DefaultOutputLengthUnits property. This property is required for Direction generation.