HttpCapabilitiesBase::RequiresContentTypeMetaTag Property
.NET Framework (current version)
Gets a value indicating whether the browser requires an HTML <meta> element for which the content-type attribute is specified.
Assembly: System.Web (in System.Web.dll)
Property Value
Type: System::Booleantrue if the browser requires an HTML <meta> element for which the content-type attribute is specified; otherwise, false. The default is false.
If true, server-control adapters insert the following tag into the HTML <head> element of a Web page:
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT=""; CHARSET="">
In this example, CONTENT is the value returned by the PreferredRenderingMime property, and charset is the character encoding used.
.NET Framework
Available since 2.0
Available since 2.0
Show: