ZennoLab Assemblies Documentation
ToString Method (ILocalVariable)
Example 
Returns a string that represents the current local variable.
Syntax
string ToString()

Return Value

Type: System.String
A string that represents the current local variable.
Example
The following example converts an ILocalVariable object using the default ToString method.
// get local variable
ILocalVariable lv = project.Variables["VariableName"];
 
// convert local variable to string
string stringLocalVariable = lv.ToString();
// get local variable
$lv = $project->Variables->get_Item("VariableName");
 
// convert local variable to string
$stringLocalVariable = $lv->ToString();
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