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)
Syntax
'Declaration
ReadOnly Property ContentType As String
string ContentType { get; }
property String^ ContentType {
String^ get ();
}
abstract ContentType : string
function get ContentType () : String
Property Value
Type: System.String
The body content-type.
Remarks
Content-type can be obtained by checking the type of FormPostParameter.
.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.