HttpRequestBase.ContentType Property


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

 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".


Applies to