Utf8JsonWriter.Reset Metoda

Definice

Přetížení

Reset(Stream)

Obnoví interní stav této instance, aby ji bylo možné znovu použít s novou instancí Stream.

Reset()

Resetuje interní stav této instance, aby ji bylo možné znovu použít.

Reset(IBufferWriter<Byte>)

Obnoví interní stav této instance, aby ji bylo možné znovu použít s novou instancí IBufferWriter<T>.

Reset(Stream)

Zdroj:
Utf8JsonWriter.cs
Zdroj:
Utf8JsonWriter.cs
Zdroj:
Utf8JsonWriter.cs

Obnoví interní stav této instance, aby ji bylo možné znovu použít s novou instancí Stream.

public:
 void Reset(System::IO::Stream ^ utf8Json);
public void Reset (System.IO.Stream utf8Json);
member this.Reset : System.IO.Stream -> unit
Public Sub Reset (utf8Json As Stream)

Parametry

utf8Json
Stream

Cíl pro psaní textu JSON.

Výjimky

utf8Json je null.

Tato instance byla odstraněna.

Poznámky

Bude Utf8JsonWriter dál používat možnosti původního zapisovače, ale teď bude zapisovat do utf8Json jako nový cíl.

Platí pro

Reset()

Zdroj:
Utf8JsonWriter.cs
Zdroj:
Utf8JsonWriter.cs
Zdroj:
Utf8JsonWriter.cs

Resetuje interní stav této instance, aby ji bylo možné znovu použít.

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

Výjimky

Tato instance byla odstraněna.

Poznámky

Jako Utf8JsonWriter cíl bude nadále používat možnosti původního zapisovače a původní výstup (buď IBufferWriter<T> nebo Stream).

Platí pro

Reset(IBufferWriter<Byte>)

Zdroj:
Utf8JsonWriter.cs
Zdroj:
Utf8JsonWriter.cs
Zdroj:
Utf8JsonWriter.cs

Obnoví interní stav této instance, aby ji bylo možné znovu použít s novou instancí IBufferWriter<T>.

public:
 void Reset(System::Buffers::IBufferWriter<System::Byte> ^ bufferWriter);
public void Reset (System.Buffers.IBufferWriter<byte> bufferWriter);
member this.Reset : System.Buffers.IBufferWriter<byte> -> unit
Public Sub Reset (bufferWriter As IBufferWriter(Of Byte))

Parametry

bufferWriter
IBufferWriter<Byte>

Cíl pro psaní textu JSON.

Výjimky

bufferWriter je null.

Tato instance byla odstraněna.

Poznámky

Bude Utf8JsonWriter dál používat možnosti původního zapisovače, ale teď bude zapisovat do bufferWriter jako nový cíl.

Platí pro