Share via


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
'Usage
Dim instance As StringHttpBody 
Dim value As String 

value = instance.ContentType

instance.ContentType = value
public string ContentType { get; set; }
public:
virtual property String^ ContentType {
    String^ get () sealed;
    void set (String^ value) sealed;
}
public final function get ContentType () : String 
public final function set ContentType (value : String)

Property Value

Type: System.String
The body content-type.

Implements

IHttpBody.ContentType

.NET Framework Security

See Also

Reference

StringHttpBody Class

StringHttpBody Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace