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


INetworkForwardStarEx.AdjustTurnAttributeValue Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

INetworkForwardStarEx.AdjustTurnAttributeValue Method

Adjusts the value of a network attribute for a turn element.

[Visual Basic .NET]
Public Sub AdjustTurnAttributeValue ( _
    ByVal Turn As INetworkTurn, _
    ByVal Attribute As INetworkAttribute, _
    ByVal adjustmentType As esriNetworkAttributeAdjustmentType, _
    ByVal Value As Object _
)
[C#]
public void AdjustTurnAttributeValue (
    INetworkTurn Turn,
    INetworkAttribute Attribute,
    esriNetworkAttributeAdjustmentType adjustmentType,
    object Value
);
[C++]
HRESULT AdjustTurnAttributeValue(
  INetworkTurn* Turn,
  INetworkAttribute* Attribute,
  esriNetworkAttributeAdjustmentType adjustmentType,
  VARIANT Value
);
[C++]

Parameters Turn [in]
Turn is a parameter of type INetworkTurn 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

Product Availability

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

Remarks

AdjustTurnAttributeValue applies attribute adjustments to the input turn.

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.

See Also

INetworkForwardStarEx Interface