ZennoLab Assemblies Documentation
Variables Property
Example 
Get a collection of local variables that can be accessed name.
Syntax
ILocalVariables Variables {get;}

Property Value

Type: ZennoLab.InterfacesLibrary.ProjectModel.Collections.ILocalVariables

A collection of local variables.

Example
The following example uses Variables property of "project" for getting and setting value of local variable.
// get local variable
ILocalVariable lv = project.Variables["MyLocalVariable"];
 
// set value
if (lv.Value == "5") lv.Value = "0";
// get local variable
$lv = $project->Variables->get_Item("MyLocalVariable");
 
// set value
if ($lv->Value == "5") $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

IZennoPosterProjectModel Interface
IZennoPosterProjectModel Members
ILocalVariable Interface
ILocalVariables Interface

Send Feedback