HttpCapabilitiesBase.PreferredRenderingMime Property

 

Returns the MIME type of the type of content typically preferred by the browser.

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

abstract PreferredRenderingMime : string with get
override PreferredRenderingMime : string with get

Property Value

Type: System.String

The MIME type of the type of content typically preferred by the browser. The default is text/html.

The following code example shows how to determine the MIME type typically preferred by the browser.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: