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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.