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


INetworkAttribute.DataType Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

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 (Code Files: ScaleSubsetEvaluator)