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.

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)

public:
property String^ BodyString {
	String^ get();
	internal: void set(String^ value);
}

Property Value

Type: System::String^

The response body. This returns null if there is not a body or the content type is not text, HTML, or XML.

Return to top
Show: