XmlWriterSettings.Reset 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將設定類別的成員重設為其預設值。
public:
void Reset();
public void Reset ();
member this.Reset : unit -> unit
Public Sub Reset ()
備註
下表顯示 實例 XmlWriterSettings 的預設屬性值。
屬性 | 初始值 |
---|---|
Async |
false . |
CheckCharacters |
true . |
CloseOutput |
false . |
ConformanceLevel | Document. |
Encoding |
Encoding.UTF8 . |
Indent |
false . |
IndentChars | 兩個空格。 |
NewLineChars |
\r\n . |
NewLineHandling | Replace. |
NewLineOnAttributes |
false . |
OmitXmlDeclaration |
false . |
WriteEndDocumentOnClose |
true . |