Dela via


BinaryHttpBody.ContentType Property

Gets or sets the content type of this data.

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: System.String
Data content type.

Implements

IHttpBody.ContentType

.NET Framework Security

See Also

Reference

BinaryHttpBody Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace