IScenario.GetValueForTaskByHexID Method

Gets the scenario value for a specific task. If a value (ScenarioTaskItem.Quantity) is not defined in the scenario for the task, the corresponding property is set to NegativeInfinity.
ScenarioTaskItem GetValueForTaskByHexID( 
   string hexID 
)

Parameters

hexID
string

The HexID of the task for which the value is to be retrieved.

Return Value

ScenarioTaskItem

The scenario value.

Exception type Condition

ArgumentOutOfRangeException

There is no task with specified hexID.

Version
 
Available since QDV 7.18.685.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2