StringHttpBody.ContentType Property

Gets a value representing the content-type of the body.

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

Syntax

'Declaration
Public Property ContentType As String
public string ContentType { get; set; }
public:
virtual property String^ ContentType {
    String^ get () sealed;
    void set (String^ value) sealed;
}
abstract ContentType : string with get, set 
override ContentType : string with get, set
final function get ContentType () : String 
final function set ContentType (value : String)

Property Value

Type: String
The body content-type.

Implements

IHttpBody.ContentType

.NET Framework Security

See Also

Reference

StringHttpBody Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace