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::ContentType Property
Gets the MIME type of the response body.
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
public: property String^ ContentType { String^ get(); internal: void set(String^ value); }
| Exception | Condition |
|---|---|
| ObjectDisposedException | The current instance has been disposed. |
The ContentType property contains the value of the Content-Type header returned with the response.
Show: