 | IDataProviderSetValue Method |
Sets the value of the specified variable.
Namespace:
Ranorex.Core.Data
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxvoid SetValue(
CaseInsensitiveString variableName,
string value
)
Sub SetValue (
variableName As CaseInsensitiveString,
value As String
)
Parameters
- variableName
- Type: CaseInsensitiveString
The name of the variable. - value
- Type: SystemString
The value to set the variable to.
Exceptions| Exception | Condition |
|---|
| NotSupportedException | If setting variable values is not supported by the
data provider. |
| DataException | If setting the variable value fails for any other reason,
e.g. if the variable does not exist. |
See Also