HttpCapabilitiesBase.PreferredRenderingType Property

 

Gets the general name for the type of content that the browser prefers.

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

abstract PreferredRenderingType : string with get
override PreferredRenderingType : string with get

Property Value

Type: System.String

html32 or chtml10. The default is html32.

The following code example shows how to determine the type of content that the browser prefers.

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

.NET Framework
Available since 2.0
Return to top
Show: