語言

XmlWriterSettings.Reset 方法

定義

將設定類別的成員重置為預設值。

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 (回車,換行)用於非 Unix 平台,或 \n (換行)用於 Unix 平台。
NewLineHandling Replace。
NewLineOnAttributes false。
OmitXmlDeclaration false。
WriteEndDocumentOnClose true。

適用於