Gets or sets value of local variable.
Syntax
Example
The following example demonstrates using
Value property.
| C# | Copy Code |
|---|
// get local variable
ILocalVariable lv = project.Variables["VariableName"];
// get value of local variable
string value = lv.Value;
// set value of local variable
lv.Value = "0"; |
| PHP | Copy Code |
|---|
// get local variable
$lv = $project->Variables->get_Item("VariableName");
// get value of local variable
$value = $lv->Value;
// set value of local variable
$lv->Value = "0"; |
Requirements
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven
See Also