| ZennoLab.InterfacesLibrary Assembly > ZennoLab.InterfacesLibrary.ProjectModel.Collections Namespace > IGlobalVariables Interface : SetVariable Method |
The namespace of global variable.
The name of global variable.
The name of global variable.
The namespace of global variable.
The name of global variable.
The name of global variable.
// change a value of existing global variable project.GlobalVariables.SetVariable("MyNamespase", "ExistingVariableName", "ChangedValue"); // create a new global variable and set value project.GlobalVariables.SetVariable("MyNamespase", "NewVariableName", "NewValue");
// change a value of existing global variable $project->GlobalVariables->SetVariable("MyNamespase", "ExistingVariableName", "ChangedValue"); // create a new global variable and set value $project->GlobalVariables->SetVariable("MyNamespase", "NewVariableName", "NewValue");
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven