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