HttpResponseBase::ContentType Property

 

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

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

public:
property String^ ContentType {
	virtual String^ get();
	virtual void set(String^ value);
}

Property Value

Type: System::String^

The HTTP MIME type of the current response.

Exception Condition
NotImplementedException

Always.

.NET Framework
Available since 3.5
Return to top
Show: