ZennoLab Assemblies Documentation
Name Property (ILocalVariable)
Example 
Gets or sets name of local variable.
Syntax
string Name {get; set;}

Property Value

Type: System.String

The name of local variable.

Example
The following example demonstrates using Name property.
// 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";
Requirements

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

See Also

Reference

ILocalVariable Interface
ILocalVariable Members
IGlobalVariable Interface
ILocalVariables Interface

Send Feedback