YamlElement.ObjectEnumerator struct

An enumerable and enumerator for the properties of a YAML object.

Namespace: System.Text.Yaml ยท Assembly: Styml.dll

public struct ObjectEnumerator : IEnumerable<YamlProperty>, IEnumerator<YamlProperty>

Implements: IEnumerable<YamlProperty>, IEnumerator<YamlProperty>

An enumerable and enumerator for the properties of a YAML object.

PropertiesLink to this heading

CurrentLink to this heading

public YamlProperty Current { get; }

MethodsLink to this heading

DisposeLink to this heading

public void Dispose();

GetEnumeratorLink to this heading

Returns an enumerator that iterates the properties of an object.

public YamlElement.ObjectEnumerator GetEnumerator();

Returns: An YamlElement.ObjectEnumerator value that can be used to iterate through the object.

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).

MoveNextLink to this heading

public bool MoveNext();

ResetLink to this heading

public void Reset();

Generated from the XML documentation of the libraryBuilt with Douze

Esc to close