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: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

ILocalVariable Interface
ILocalVariable Members
IGlobalVariable Interface
ILocalVariables Interface

Send Feedback