Export (0) Print
Expand All

XmlKnownDtds Enumeration

The XmlKnownDtds enumeration is used by the XmlPreloadedResolver and defines which well-known DTDs that the XmlPreloadedResolver recognizes.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  System.Xml.Resolvers
Assembly:  System.Xml (in System.Xml.dll)

[FlagsAttribute]
public enum XmlKnownDtds

Member nameDescription
AllSpecifies that the XmlPreloadedResolver will recognize all currently supported DTDs. This is the default behavior.
NoneSpecifies that the XmlPreloadedResolver will not recognize any of the predefined DTDs.
Rss091Specifies that the XmlPreloadedResolver will recognize DTDs and entities that are defined in RSS 0.91.
Xhtml10Specifies that the XmlPreloadedResolver will recognize DTDs and entities that are defined in XHTML 1.0.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft