ZennoLab Assemblies Documentation
Value Property
See Also  Example Send Feedback
ZennoLab.InterfacesLibrary Assembly > ZennoLab.InterfacesLibrary.ProjectModel Namespace > ILocalVariable Interface : Value Property

Glossary Item Box

Gets or sets value of local variable.

Syntax

C# 
string Value {get; set;}

Property Value

Type: System.String

The value of local variable.

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";
PHPCopy 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

© 2013 All Rights Reserved.