| ZennoLab.InterfacesLibrary Assembly > ZennoLab.InterfacesLibrary.ProjectModel Namespace > IGlobalVariable Interface : Name Property |
// get global variable IGlobalVariable gv = project.GlobalVariables["MyNamespace", "MyGlobalVariable"]; // get name of current global variable string name = gv.Name; // set name of global variable gv.Name = "NewName";
// get global variable $gv = $project->GlobalVariables->get_Item("MyNamespace", "MyGlobalVariable"); // get name of current global variable $name = $gv->Name; // set name of global variable $gv->Name = "NewName";
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven