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: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven

See Also

Reference

ILocalVariable Interface
ILocalVariable Members
IGlobalVariable Interface
ILocalVariables Interface

Send Feedback