IWbsVariables.SetVariable (String, Object, VariableType) Method
Function SetVariable( _
ByVal variableName As String, _
ByVal variableValue As Object, _
ByVal variableType As VariableType _
) As Boolean
This language is not supported or no code example is available.
Parameters
- variableName
- string
The name of the WBS variable.
- variableValue
- object
The variable value to be set.
- variableType
- VariableType
The type of the variable to be set.
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 supplied parameters.
Exception type | Condition |
---|---|
A problem occurred. |
|
The variableName is invalid. |
This method creates a new variable if it doesn't exist yet.
The variable comment is set to an empty string.
Available since QDV 7.17.612.