| ZennoLab.InterfacesLibrary Assembly > ZennoLab.InterfacesLibrary.ProjectModel.Collections Namespace > ILocalVariables Interface : Item Property |
Get the local variable by the specified name.
ILocalVariable this[ string variableName ]; {get;}
The name of local variable.
The object of ILocalVariable describing local variable.
| Exception | Description |
|---|---|
| KeyNotFoundException | The exception that is thrown when the name specified for accessing a local variable in a collection does not match any name in the collection. |
ILocalVariable lv = project.Variables["LocalVariable"];$lv = $project->Variables->get_Item("LocalVariable");
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven