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: 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.