ZennoLab Assemblies Documentation
Namespace Property
Example 
Gets or sets namespace of global variable.
Syntax
string Namespace {get; set;}

Property Value

Type: System.String

The namespace of global variable.

Example
The following example demonstrates using Namespace property.
// get global variable
IGlobalVariable gv = project.GlobalVariables["MyNamespace", "MyGlobalVariable"];
 
// get namespace of current global variable
string @namespace = gv.Namespace;
// set namespace of global variable
gv.Namespace = "NewNamespace";
// get global variable
$gv = $project->GlobalVariables->get_Item("MyNamespace", "MyGlobalVariable");
 
// get namespace of current global variable
$namespace = $gv->Namespace;
// set namespace of global variable
$gv->Namespace = "NewNamespace";
Requirements

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

See Also

Reference

IGlobalVariable Interface
IGlobalVariable Members
IGlobalVariables Interface

Send Feedback