Export (0) Print
Expand All

HttpResponseBase.ContentType Property

Gets or sets the HTTP MIME type of the current response.

Namespace:  System.Web
Assembly:  System.Web (in System.Web.dll)

'Declaration
Public Overridable Property ContentType As String

Property Value

Type: System.String
The HTTP MIME type of the current response.

ExceptionCondition
NotImplementedException

Always.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1
Show:
© 2015 Microsoft