Share via


UITestAction.Comment Property

Gets or sets a comment for this action.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Syntax

'Declaration
Public Property Comment As String
public string Comment { get; set; }
public:
property String^ Comment {
    String^ get ();
    void set (String^ value);
}
member Comment : string with get, set
function get Comment () : String 
function set Comment (value : String)

Property Value

Type: String
This property can be set by using the recorder UI. During recording, details of the user actions are displayed in the recorder UI. The user can select it and add a comment, which updates this property.

Remarks

Raises the PropertyChanged event when the value is set.

.NET Framework Security

See Also

Reference

UITestAction Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace

PropertyChanged