HttpRequestWrapper::ContentType Property

 

Gets or sets the MIME content type of the request.

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

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

Property Value

Type: System::String^

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

.NET Framework
Available since 3.5
Return to top
Show: