XmlWriterSettings.Reset Metoda

Definicja

Resetuje elementy członkowskie klasy ustawień do ich wartości domyślnych.

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

Uwagi

W poniższej tabeli przedstawiono domyślne wartości właściwości dla wystąpienia klasy XmlWriterSettings.

Właściwość Wartość początkowa
Async false.
CheckCharacters true.
CloseOutput false.
ConformanceLevel Document.
Encoding Encoding.UTF8.
Indent false.
IndentChars Dwie spacje.
NewLineChars \r\n.
NewLineHandling Replace.
NewLineOnAttributes false.
OmitXmlDeclaration false.
WriteEndDocumentOnClose true.

Dotyczy