This document is archived and information here might be outdated. Recommended version. |
Adjusts the value of a network attribute for a junction element.
[Visual Basic .NET] Public Sub AdjustJunctionAttributeValue ( _ ByVal Junction As INetworkJunction, _ ByVal Attribute As INetworkAttribute, _ ByVal adjustmentType As esriNetworkAttributeAdjustmentType, _ ByVal Value As Object _ )
[C#] public void AdjustJunctionAttributeValue ( INetworkJunction Junction, INetworkAttribute Attribute, esriNetworkAttributeAdjustmentType adjustmentType, object Value );
[C++]
HRESULT AdjustJunctionAttributeValue(
INetworkJunction* Junction,
INetworkAttribute* Attribute,
esriNetworkAttributeAdjustmentType adjustmentType,
VARIANT Value
);
[C++] Parameters Junction [in]
Junction is a parameter of type INetworkJunction* Attribute [in]
Attribute is a parameter of type INetworkAttribute* adjustmentType [in]
adjustmentType is a parameter of type esriNetworkAttributeAdjustmentType Value [in]
Value is a parameter of type VARIANT
AdjustJunctionAttributeValue applies attribute adjustments to the input junction.
Attribute adjustments at the NetworkForwardStar level allow dynamically adjusting network attribute values at runtime. For example, it is possible to add a constant value to a cost attribute or scale a cost attribute by a constant factor, as well as dynamically replacing attribute values.
Please see the help for esriNetworkAttributeAdjustmentType for attribute adjustment usage protocols.