Mono Class Library: System.Web.HttpResponse Overview | Members

System.Web.HttpResponse.ContentType Property

The value of the "Content-Type" header (identifies the MIME type of the current response).

public string ContentType { set; get; }

Value

The current Content-Type value.

Remarks

The default value is text/html.

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0