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
- commentText
Type: System.String
A String that contains the text of the comment.
.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.