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


INetworkAttribute.DataType 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.DataType Property
ArcGIS Developer Help

INetworkAttribute.DataType Property

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

Product Availability

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

Remarks

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

See Also

INetworkAttribute Interface

.NET Samples

Subset network evaluators