Description |
---|
Excerpt |
---|
Sets the value of the variable with the specified name. If the variable does not exist, |
Signature | C# | C# |
---|---|---|
Wiki Markup | ||
{description}
{excerpt}Sets the value of the variable with the specified name. If the variable does not exist, {{setVariable}} creates a new variable. If the variable does exist, {{setVariable}} overwrites the existing variable.
{excerpt}
{signature:C#}
public void SetVariable(System.String name, System.String val)
| ||
Signature | ||
{signature}{signature:vb.net | vb.net | }
Public Sub SetVariable(ByVal name As String, ByVal val As String)
|
Parameters |
---|
Param | name | name | |
---|---|---|---|
The name of the variable. | |||
Param | val | val | |
The value of the variable. | |||
Example | |||
Code Block | | csharp | csharp |
title | C# | ||
Code Block | vb.net | title |