使用指定的字符串初始化 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
)
参数
- commentText
类型:System.String
包含注释文本的 String。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。