Share via


FileUploadParameter.ContentType Property

Gets or sets the content type header.

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:
property String^ ContentType {
    String^ get ();
    void set (String^ value);
}
member ContentType : string with get, set
function get ContentType () : String 
function set ContentType (value : String)

Property Value

Type: String
The content type header. The default value is "application/octet-stream".

.NET Framework Security

See Also

Reference

FileUploadParameter Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace