語言

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 為預設值 true ,則設定 DtdProcessing 為 Prohibit。 如果你設定 ProhibitDtd 為 falseDtdProcessingParse。
Schemas 一個空物 XmlSchemaSet 。
ValidationFlags ProcessIdentityConstraints。
ValidationType None。
XmlResolver 一個新 XmlUrlResolver 物件。

適用於

另請參閱