Property Value
Type: System.StringThe name of local variable.
// get local variable ILocalVariable lv = project.Variables["VariableName"]; // get name of current local variable string name = lv.Name; // set name of local variable lv.Name = "NewName";
// get local variable $lv = $project->Variables->get_Item("VariableName"); // get name of current local variable $name = $lv->Name; // set name of local variable $lv->Name = "NewName";
Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.