Partager via


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 with get
function get ContentType () : String

Property Value

Type: String
The body content-type.

Remarks

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

.NET Framework Security

See Also

Reference

IHttpBody Interface

Microsoft.VisualStudio.TestTools.WebTesting Namespace