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

See Also

Reference

IZennoPosterProjectModel Interface
IZennoPosterProjectModel Members
ILocalVariable Interface
ILocalVariables Interface

Send Feedback