ZennoLab Assemblies Documentation
Name Property
See Also  Example Send Feedback
ZennoLab.InterfacesLibrary Assembly > ZennoLab.InterfacesLibrary.ProjectModel Namespace > ILocalVariable Interface : Name Property

Glossary Item Box

Gets or sets name of local variable.

Syntax

C# 
string Name {get; set;}

Property Value

Type: System.String

The name of local variable.

Example

The following example demonstrates using Name property.
C#Copy Code
// 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";
PHPCopy Code
// 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

© 2013 All Rights Reserved.