This document is archived and information here might be outdated.  Recommended version.

INetworkAttribute.Units Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkAttribute Interface > INetworkAttribute.Units Property
ArcGIS Developer Help

INetworkAttribute.Units Property

Units of this network attribute.

[Visual Basic .NET]
Public Property Units As esriNetworkAttributeUnits
public esriNetworkAttributeUnits Units {get; set;}
HRESULT get_Units(
  esriNetworkAttributeUnits* Units
HRESULT put_Units(
  esriNetworkAttributeUnits Units
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.


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 Subset network evaluators Vehicle routing problem solver