Share via


Comment Constructor (String)

Initializes a new instance of the Comment class using the specified string.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public Sub New ( _
    commentText As String _
)
public Comment(
    string commentText
)
public:
Comment(
    String^ commentText
)
new : 
        commentText:string -> Comment
public function Comment(
    commentText : String
)

Parameters

.NET Framework Security

See Also

Reference

Comment Class

Comment Overload

Microsoft.VisualStudio.TestTools.WebTesting Namespace