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

Glossary Item Box

Returns a string that represents the current local variable.

Syntax

C# 
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.
C#Copy Code
// get local variable
ILocalVariable lv = project.Variables["VariableName"];
 
// convert local variable to string
string stringLocalVariable = lv.ToString();
PHPCopy Code
// 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

© 2013 All Rights Reserved.