ArcObjects Library Reference (GeoDatabase)  

INetworkAttribute.UsageType Property

Usage type of this network attribute.

[Visual Basic .NET]
Public Property UsageType As esriNetworkAttributeUsageType
[C#]
public esriNetworkAttributeUsageType UsageType {get; set;}
[C++]
HRESULT get_UsageType(
  esriNetworkAttributeUsageType* UsageType
);
[C++]
HRESULT put_UsageType(
  esriNetworkAttributeUsageType UsageType
);
[C++]

Parameters

UsageType [out, retval]

  UsageType is a parameter of type esriNetworkAttributeUsageType

UsageType [in]

  UsageType is a parameter of type esriNetworkAttributeUsageType

Product Availability

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

Remarks

The UsageType for the network attribute can be either Cost, Descriptor, Restriction, or Hierarchy.

Depending on the UsageType for the network attribute, only certain DataTypes are allowed:

UsageType: Allowed DataTypes:
esriNAUTCost esriNADTInteger, esriNADTFloat, esriNADTDouble
esriNAUTDescriptor esriNADTInteger, esriNADTFloat, esriNADTDouble, esriNADTBoolean
esriNAUTRestriction esriNADTBoolean
esriNAUTHierarchy esriNADTInteger

See Also

INetworkAttribute Interface