XdmWriterSettings.IncludeContentType PropertyXdmWriterSettings.IncludeContentType PropertyXdmWriterSettings::IncludeContentType Property
- Namespace: XmlPrime.SerializationXmlPrime.SerializationXmlPrime.Serialization
- Assembly: XmlPrime (in XmlPrime.dll)
Property Value
Type: System.BooleanSystem.BooleanSystem::Boolean
true
True
true
if a meta tag should be added; otherwise false
False
false
.
Remarks
This property corresponds to the include-content-type
serialization parameter.
If this property is set to true
True
true
, then in html
and xhtml
output
methods a meta
element is added as the first child of the head
element specifying the content
type from the media-type
property, and with the encoding actually used.
This property is ignored when MethodMethodMethod is not set to HtmlOutputMethodHtmlOutputMethodHtmlOutputMethod or XHtmlOutputMethodXHtmlOutputMethodXHtmlOutputMethod.
By default this property is set to false
False
false