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

Return Value

Type: System.String
A string that represents the current global variable.
Example
The following example converts an IGlobalVariable object using the default ToString method.
// get global variable
IGlobalVariable gv = project.GlobalVariables["MyNamespace", "MyGlobalVariable"];
 
// convert global variable to string
string stringGlobalVariable = gv.ToString();
// get global variable
$gv = $project->GlobalVariables["MyNamespace", "MyGlobalVariable"];
 
// convert global variable to string
$stringGlobalVariable = $gv->ToString();
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

IGlobalVariable Interface
IGlobalVariable Members
IGlobalVariables Interface
ILocalVariable Interface

Send Feedback