ZennoLab Assemblies Documentation
Item Property (IGlobalVariables)
Example 
ZennoLab.InterfacesLibrary.ProjectModel.Collections Namespace > IGlobalVariables Interface : Item Property

Get the global variable by the specified pair, namespace and name.

Overload List
OverloadDescription

Get the global variable by the specified pair, namespace and name.

 

Get the global variables by the namespace.

 
Exceptions
ExceptionDescription
The exception that is thrown when the pair, namespace and name, specified for accessing a global variable in a collection does not match any pair in the collection.
Remarks
This property uses only for getting necessary global variable. For setting value need use method SetVariable.
Example
The following example uses property "Item" (operator []) to access a global variable with namespace "MyNamespace" and name "MyGlobalVariable".
IGlobalVariable gv = project.GlobalVariables["MyNamespace", "MyGlobalVariable"];
$gv = $project->GlobalVariables->get_Item("MyNamespace", "MyGlobalVariable");
Requirements

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

See Also

Reference

IGlobalVariables Interface
IGlobalVariables Members
IGlobalVariable Interface