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

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