HttpRequestBase.ContentType Property

Definition

When overridden in a derived class, gets or sets the MIME content type of the request.

public:
 virtual property System::String ^ ContentType { System::String ^ get(); void set(System::String ^ value); };
public virtual string ContentType { get; set; }
member this.ContentType : string with get, set
Public Overridable Property ContentType As String

Property Value

The MIME content type of the request, such as "text/html".

Exceptions

Applies to