This documentation is archived and is not being maintained.

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 */
String get_ContentType ()

function get ContentType () : String

Property Value

The body content-type.

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