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


esriNetworkAttributeUnits Constants (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

esriNetworkAttributeUnits Constants

Units of a network dataset attribute.

Constant Value Description
esriNAUUnknown 0 Unknown.
esriNAUInches 1 Inches.
esriNAUFeet 3 Feet.
esriNAUYards 4 Yards.
esriNAUMiles 5 Miles.
esriNAUNauticalMiles 6 Nautical miles.
esriNAUMillimeters 7 Millimeters.
esriNAUCentimeters 8 Centimeters.
esriNAUMeters 9 Meters.
esriNAUKilometers 10 Kilometers.
esriNAUDecimalDegrees 11 Decimal degrees.
esriNAUDecimeters 12 Decimeters.
esriNAUSeconds 20 Seconds.
esriNAUMinutes 21 Minutes.
esriNAUHours 22 Hours.
esriNAUDays 23 Days.
esriNAUMilesPerHour 30 Miles per hour.
esriNAUKilometersPerHour 31 Kilometers per hour.

Product Availability

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

.NET Snippets

Set Vehicle Routing Problem Properties

.NET Samples

ArcGIS Network Analyst extension Engine application (Code Files: frmNALayerProperties) | Vehicle routing problem solver (Code Files: frmVRPSolver) | Subset network evaluators (Code Files: FilterSubsetEvaluator SubsetHelper) | Route application using the NAServer extension in ArcGIS for Server via a Web service (Code Files: Route_WebServiceClass)

.NET Related Topics

How to create a multimodal network dataset | How to create a network dataset