Upraviť

Zdieľať cez


JsonElement.ObjectEnumerator.GetEnumerator Method

Definition

Returns an enumerator that iterates the properties of an object.

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

Returns

An enumerator that can be used to iterate through the object.

Remarks

The enumerator will enumerate the properties in the order they are declared, and when an object has multiple definitions of a single property, they will all individually be returned (each in the order they appear in the content).

Applies to