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

Glossary Item Box

Gets or sets comment for local variable.

Syntax

C# 
string Comment {get; set;}

Property Value

Type: System.String

The comment of local variable.

Example

The following example demonstrates using Comment property.
C#Copy Code
// get local variable
ILocalVariable lv = project.Variables["VariableName"];
 
// get comment for current local variable
string comment = lv.Comment;
// set comment for local variable
lv.Comment = "Set the comment for this local variable";
PHPCopy Code
// get local variable
$lv = $project->Variables->get_Item("VariableName");
 
// get comment for current local variable
$comment = $lv->Comment;
// set comment for local variable
$lv->Comment = "Set the comment for this local variable";

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.