This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkAttribute Interface > INetworkAttribute.DataType Property (ArcObjects .NET 10.5 SDK) |
Type of data used in this network attribute.
[Visual Basic .NET] Public Property DataType As esriNetworkAttributeDataType
[C#] public esriNetworkAttributeDataType DataType {get; set;}
[C++]
HRESULT get_DataType(
esriNetworkAttributeDataType* DataType
);
[C++]
HRESULT put_DataType(
esriNetworkAttributeDataType DataType
);
[C++]
Parameters DataType [out, retval]
DataType is a parameter of type esriNetworkAttributeDataType DataType [in]
DataType is a parameter of type esriNetworkAttributeDataType
The DataType for the network attribute can be either Integer, Float, Double, or Boolean.
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 |