Interface INetworkAttribute

Namespace
ESRI.ArcGIS.Geodatabase
Assembly
ESRI.Server.Geodatabase.dll

Provides access to members that specify the properties of an attribute in a network dataset.

[Guid("AE92A9B6-9C80-41B1-B84D-765F18B43625")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface INetworkAttribute

Remarks


Properties

DataType

Type of data used in this network attribute.

esriNetworkAttributeDataType DataType { get; set; }

Property Value

esriNetworkAttributeDataType

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

ID

Unique identifier of this network attribute.

int ID { get; }

Property Value

int

IsTimeAware[esriNetworkElementType]

Indicates if the network attribute is time aware.

bool IsTimeAware[esriNetworkElementType ElementType] { get; }

Parameters

ElementType esriNetworkElementType

Property Value

bool

Name

Name of this network attribute.

string Name { get; set; }

Property Value

string

Parameters

Array of parameters for this network attribute.

IArray Parameters { get; set; }

Property Value

IArray

Units

Units of this network attribute.

esriNetworkAttributeUnits Units { get; set; }

Property Value

esriNetworkAttributeUnits

Remarks

If the attribute is not measured in units of distance or time, specify the Units as esriNAUUnknown.

UsageType

Usage type of this network attribute.

esriNetworkAttributeUsageType UsageType { get; set; }

Property Value

esriNetworkAttributeUsageType

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

UseByDefault

Indicates if this network attribute is to be used by default.

bool UseByDefault { get; set; }

Property Value

bool

Methods

Refresh()

Refresh the network evaluators assigned to this network attribute.

void Refresh()