IWbsVariables.GetVariableInfo Method

Gets the complete info about a WBS variable.
Function GetVariableInfo( _ 
ByVal variableName As String
) As WbsVariableInfo
This language is not supported or no code example is available.
WbsVariableInfo GetVariableInfo( 
string variableName 
)
This language is not supported or no code example is available.

Parameters

variableName
string

The name of the WBS variable.

Return Value

WbsVariableInfo

The variable details.

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 defined in the task specified by Task, this method tries to get inherited variable from parent tasks. You can test the WbsVariableInfo.Task property of the result to determine whether the variable is defined in the current task or in some parent task.
Version
 
Available since QDV 7.17.612.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition