Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Comment Class

 

Represents a comment that the test designer adds to a Web performance test.

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

System.Object
  Microsoft.VisualStudio.TestTools.WebTesting.WebTestItem
    Microsoft.VisualStudio.TestTools.WebTesting.Comment

[SerializableAttribute]
public class Comment : WebTestItem

NameDescription
System_CAPS_pubmethodComment()

Initializes a new instance of the Comment class.

System_CAPS_pubmethodComment(String)

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

NameDescription
System_CAPS_pubpropertyCommentText

Gets or sets the text of the comment.

System_CAPS_pubpropertyItemId

Zero-based sequence number of the item in the Web performance test.(Inherited from WebTestItem.)

NameDescription
System_CAPS_pubmethodClone()

Creates a new Comment that is a copy of the current Comment.(Overrides WebTestItem.Clone().)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRuntimeClone()

Returns a clone of this object at run time.(Inherited from WebTestItem.)

System_CAPS_pubmethodToString()

(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.

Return to top
Show: