AddVariableString method
The AddVariableString method adds a string
variable and its value to an object. You can use this method when
you need to pass values to custom actions.
Syntax
- C#
bool AddVariableString(string strName, string strValue)- VBScript
oDCO.AddVariableString (strName as String, strValue as String) as Boolean
Applies to
All objects types.
Arguments
- strName
- The variable name.
- strValue
- The value of the variable as a string.
Returns
Returns true if successful; returns false if unsuccessful.
Example
See AddVariable method.