WebTestResponse.BodyString Property

Gets a string version of the response body for responses with text, HTML, or XML content types.

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

Syntax

'Declaration
Public Property BodyString As String
public string BodyString { get; internal set; }
public:
property String^ BodyString {
    String^ get ();
    internal: void set (String^ value);
}
member BodyString : string with get, internal set
function get BodyString () : String
internal function set BodyString (value : String)

Property Value

Type: System.String
The response body. This returns nulla null reference (Nothing in Visual Basic) if there is not a body or the content type is not text, HTML, or XML.

.NET Framework Security

See Also

Reference

WebTestResponse Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace