Udostępnij za pośrednictwem


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 ReadOnly Property BodyString As String
'Usage
Dim instance As WebTestResponse 
Dim value As String 

value = instance.BodyString
public string BodyString { get; }
public:
property String^ BodyString {
    String^ get ();
}
public function get BodyString () : 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

WebTestResponse Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace