Comment 构造函数 (String)

使用指定的字符串初始化 Comment 类的新实例。

命名空间:  Microsoft.VisualStudio.TestTools.WebTesting
程序集:  Microsoft.VisualStudio.QualityTools.WebTestFramework(在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)

语法

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

参数

.NET Framework 安全性

请参见

参考

Comment 类

Comment 重载

Microsoft.VisualStudio.TestTools.WebTesting 命名空间