ArcObjects Library Reference (GeoDatabase)  

INetworkAttribute.Units Property

Units of this network attribute.

[Visual Basic .NET]
Public Property Units As esriNetworkAttributeUnits
[C#]
public esriNetworkAttributeUnits Units {get; set;}
[C++]
HRESULT get_Units(
  esriNetworkAttributeUnits* Units
);
[C++]
HRESULT put_Units(
  esriNetworkAttributeUnits Units
);
[C++]

Parameters

Units [out, retval]

  Units is a parameter of type esriNetworkAttributeUnits

Units [in]

  Units is a parameter of type esriNetworkAttributeUnits

Product Availability

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

Remarks

If the attribute is not measured in units of distance or time, specify the Units as esriNAUUnknown.

See Also

INetworkAttribute Interface

.NET Samples

ArcGIS Network Analyst extension Engine application (Code Files: frmNALayerProperties) | Vehicle routing problem solver (Code Files: frmVRPSolver) | Subset network evaluators (Code Files: ScaleSubsetEvaluator)