ZennoLab Assemblies Documentation
Value Property (ILocalVariable)
Example 
Gets or sets value of local variable.
Syntax
string Value {get; set;}

Property Value

Type: System.String

The value of local variable.

Example
The following example demonstrates using Value property.
// 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";
// 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

Reference

ILocalVariable Interface
ILocalVariable Members
IGlobalVariable Interface
ILocalVariables Interface

Send Feedback