編輯

共用方式為


XmlKnownDtds Enum

Definition

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

This enumeration supports a bitwise combination of its member values.

public enum class XmlKnownDtds
[System.Flags]
public enum XmlKnownDtds
[<System.Flags>]
type XmlKnownDtds = 
Public Enum XmlKnownDtds
Inheritance
XmlKnownDtds
Attributes

Fields

Name Value Description
None 0

Specifies that the XmlPreloadedResolver will not recognize any of the predefined DTDs.

Xhtml10 1

Specifies that the XmlPreloadedResolver will recognize DTDs and entities that are defined in XHTML 1.0.

Rss091 2

Specifies that the XmlPreloadedResolver will recognize DTDs and entities that are defined in RSS 0.91.

All 65535

Specifies that the XmlPreloadedResolver will recognize all currently supported DTDs. This is the default behavior.

Applies to