IScenario.GetValueForTaskByGuid 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.
Function GetValueForTaskByGuid( _ 
ByVal guid As String
) As ScenarioTaskItem
This language is not supported or no code example is available.
ScenarioTaskItem GetValueForTaskByGuid( 
string guid 
)
This language is not supported or no code example is available.

Parameters

guid
string

The GUID (not hex ID) 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 guid.

Version
 
Available since QDV 7.18.685.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition