This document is archived and information here might be outdated. Recommended version. |
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
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 |