JsonElement.WriteTo(Utf8JsonWriter) Metoda

Definicja

Zapisuje element do określonego składnika zapisywania jako wartość JSON.

public:
 void WriteTo(System::Text::Json::Utf8JsonWriter ^ writer);
public void WriteTo (System.Text.Json.Utf8JsonWriter writer);
member this.WriteTo : System.Text.Json.Utf8JsonWriter -> unit
Public Sub WriteTo (writer As Utf8JsonWriter)

Parametry

writer
Utf8JsonWriter

Moduł zapisujący, do którego ma być zapisywany element.

Wyjątki

Parametr writer ma wartość null.

Wartość ValueKind tej wartości to Undefined.

Element nadrzędny JsonDocument został usunięty.

Dotyczy