XdmSerializationSettings.IncludeContentType PropertyXdmSerializationSettings.IncludeContentType PropertyXdmSerializationSettings::IncludeContentType Property
- XmlPrime 1.0
Gets a value indicating whether a meta tag should be added to indicate content type.
- 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 include-content-type
is set to yes
, 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. In Text and XML output modes, this
parameter is ignored. By default, this is set to no
.