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.

IHttpBody.ContentType Property


Gets a value that represents the content-type of the body.

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

string ContentType { get; }

Property Value

Type: System.String

The body content-type.

Content-type can be obtained by checking the type of FormPostParameter.

Return to top