Redigera

Dela via


JsonElement.EnumerateObject Method

Definition

Gets an enumerator to enumerate the properties in the JSON object represented by this JsonElement.

public:
 System::Text::Json::JsonElement::ObjectEnumerator EnumerateObject();
public System.Text.Json.JsonElement.ObjectEnumerator EnumerateObject ();
member this.EnumerateObject : unit -> System.Text.Json.JsonElement.ObjectEnumerator
Public Function EnumerateObject () As JsonElement.ObjectEnumerator

Returns

An enumerator to enumerate the properties in the JSON object represented by this JsonElement.

Exceptions

The parent JsonDocument has been disposed.

Applies to