Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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: System.String
The content type header. The default value is "application/octet-stream".
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.