Interface IEvaluatedNetworkAttribute
- Namespace
- ESRI.ArcGIS.Geodatabase
- Assembly
- ESRI.Server.Geodatabase.dll
Provides access to members that specify the properties of an evaluated attribute in a network dataset.
[Guid("AFB92F55-F7E1-4210-B44E-E118AC2D4D99")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IEvaluatedNetworkAttribute : INetworkAttribute
Remarks
The IEvaluatedNetworkAttribute interface is used to access the default and source evaluators of an evaluated network attribute object
The IEvaluatedNetworkAttribute interface is also used to define a new network attribute. To create a new network attribute, cocreate an EvaluatedNetworkAttribute object, specify its properties using the INetworkAttribute interface, specify its evaluators using the IEvaluatedNetworkAttribute interface, and pass the object to the INetworkBuild::AddAttribute method on the network dataset.
Properties
DENetworkDataset
Evaluator used to derive values from the given network source for this network attribute.
IDENetworkDataset DENetworkDataset { get; }
Property Value
Examples
<pre>IDENetworkDataset GetDataElementFromNetworkDataset(INetworkDataset networkDataset)<br>{
IDatasetComponent datasetComponent = networkDataset as IDatasetComponent;
return (datasetComponent.DataElement as IDENetworkDataset);
}</pre>
Remarks
<p>Access the DENetworkDataset for an existing <a href="INetworkDataset.htm">INetworkDataset</a> by calling <b><a href="javascript:Jump('esriGeoDatabase/IDatasetComponent_DataElement.htm')">IDatasetComponent::DataElement</a></b>.</p>
DataType
esriNetworkAttributeDataType DataType { get; set; }
Property Value
DefaultEvaluator[esriNetworkElementType]
Evaluator used to derive attribute values for the given element type when an evaluator is not specified for a network element's source.
INetworkEvaluator DefaultEvaluator[esriNetworkElementType ElementType] { get; set; }
Parameters
ElementTypeesriNetworkElementType
Property Value
Remarks
The NetworkFieldEvaluator cannot be used as a DefaultEvaluator for any element type.
Evaluator[INetworkSource, esriNetworkEdgeDirection]
Evaluator used to derive values from the given network source for this network attribute.
INetworkEvaluator Evaluator[INetworkSource NetworkSource, esriNetworkEdgeDirection Direction] { get; set; }
Parameters
NetworkSourceINetworkSourceDirectionesriNetworkEdgeDirection
Property Value
Remarks
If the NetworkSource parameter is an EdgeFeatureSource, then you must specify in the Direction parameter the traversal direction for which this evaluator applies (esriNEDAlongDigitized or esriNEDAgainstDigitized).
If the NetworkSource parameter is not an EdgeFeatureSource, then specify esriNEDNone for the Direction parameter.
ID
int ID { get; }
Property Value
IsTimeAware[esriNetworkElementType]
bool IsTimeAware[esriNetworkElementType ElementType] { get; }
Parameters
ElementTypeesriNetworkElementType
Property Value
Name
string Name { get; set; }
Property Value
Parameters
IArray Parameters { get; set; }
Property Value
Units
esriNetworkAttributeUnits Units { get; set; }
Property Value
UsageType
esriNetworkAttributeUsageType UsageType { get; set; }
Property Value
UseByDefault
bool UseByDefault { get; set; }
Property Value
Methods
Refresh()
void Refresh()