IWbsVariables.SetVariable (WbsVariableInfo) Method
Function SetVariable( _
ByVal variableInfo As WbsVariableInfo _
) As Boolean
This language is not supported or no code example is available.
Parameters
- variableInfo
- WbsVariableInfo
The new properties of the variable.
Return Value
boolA value indicating whether the variable was really changed or created. false if no change was done, i.e. the variable already existed and its value and type were the same as in variableInfo.
Exception type | Condition |
---|---|
A problem occurred. |
|
The WbsVariableInfo.Name of the variableInfo is invalid. |
|
The variableInfo is null reference (Nothing in Visual Basic). |
This method creates a new variable if it doesn't exist yet.
Available since QDV 7.17.612.