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: 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