HttpCapabilitiesBase::PreferredRenderingMime 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.

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)

public:
property String^ PreferredRenderingMime {
	virtual String^ 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: