共用方式為


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 ,則設定 DtdProcessingProhibit。 如果你設定 ProhibitDtdfalseDtdProcessingParse
Schemas 一個空物 XmlSchemaSet
ValidationFlags ProcessIdentityConstraints
ValidationType None
XmlResolver 一個新 XmlUrlResolver 物件。

適用於

另請參閱