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

Glossary Item Box

Returns a string that represents the current global variable.

Syntax

C# 
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.
C#Copy Code
// get global variable
IGlobalVariable gv = project.GlobalVariables["MyNamespace", "MyGlobalVariable"];
 
// convert global variable to string
string stringGlobalVariable = gv.ToString();
PHPCopy Code
// get global variable
$gv = $project->GlobalVariables["MyNamespace", "MyGlobalVariable"];
 
// convert global variable to string
$stringGlobalVariable = $gv->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.