HttpRequestWrapper.ContentType Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the MIME content type of the request.

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

public override string ContentType { get; set; }

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: