Comment Class
Represents a comment that the test designer adds to a Web performance test.
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Microsoft.VisualStudio.TestTools.WebTesting::WebTestItem
Microsoft.VisualStudio.TestTools.WebTesting::Comment
| Name | Description | |
|---|---|---|
![]() | Comment() | Initializes a new instance of the Comment class. |
![]() | Comment(String^) | Initializes a new instance of the Comment class using the specified string. |
| Name | Description | |
|---|---|---|
![]() | CommentText | Gets or sets the text of the comment. |
![]() | ItemId | Zero-based sequence number of the item in the Web performance test.(Inherited from WebTestItem.) |
| Name | Description | |
|---|---|---|
![]() | Clone() | Creates a new Comment that is a copy of the current Comment.(Overrides WebTestItem::Clone().) |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | RuntimeClone() | Returns a clone of this object at run time.(Inherited from WebTestItem.) |
![]() | ToString() | (Inherited from Object.) |
To add a comment to a Web performance test result from Web performance test code, call the AddCommentToResult method.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


