IWbsVariables.GetVariableValue Method

Gets the value of a WBS variable.
Function GetVariableValue( _ 
ByVal variableName As String
) As Object
This language is not supported or no code example is available.
object GetVariableValue( 
string variableName 
)
This language is not supported or no code example is available.

Parameters

variableName
string

The name of the WBS variable.

Return Value

object

The variable value.

Exception type Condition

QdvApiException

A problem occurred.

ArgumentNullException

The variableName is null reference (Nothing in Visual Basic).

ArgumentException

The value of variableName is invalid or it doesn't exist in the task or a parent branch.

Remarks
 
If the variable is not explicitly set in the task specified by Task, this method tries to get inherited value from parent tasks.
Version
 
Available since QDV 7.17.612.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition