通过


XmlReaderSettings.Reset 方法

定义

将设置类的成员重置为其默认值。

public:
 void Reset();
public void Reset();
member this.Reset : unit -> unit
Public Sub Reset ()

注解

下表显示了实例 XmlReaderSettings的初始属性值。

财产 初始值
Async false
CheckCharacters true
ConformanceLevel Document
IgnoreComments false
IgnoreProcessingInstructions false
IgnoreWhitespace false
LineNumberOffset 0.
LinePositionOffset 0.
MaxCharactersFromEntities 0(扩展实体导致的字符数没有限制)。
MaxCharactersInDocument 0(XML 文档的大小没有限制)。
NameTable null
DtdProcessing Prohibit
ProhibitDtd true。 此属性已过时。 请改用 DtdProcessing。 如果已设置为 ProhibitDtd 其默认值 trueDtdProcessing 则设置为 Prohibit。 如果已设置为 ProhibitDtdDtdProcessingfalseParse.
Schemas XmlSchemaSet 对象。
ValidationFlags ProcessIdentityConstraints
ValidationType None
XmlResolver 一个新的 XmlUrlResolver 对象。

适用于

另请参阅