Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Struct

Enumerator (YamlSequence)

OfficeIMO.Yaml.YamlSequence

Namespace
OfficeIMO.Yaml.YamlSequence
Assembly
OfficeIMO.Yaml
Source revision
0eef6a5756b9 with working tree changes
Base
ValueType
Implements
IEnumerator<YamlNode> IDisposable IEnumerator
Modifiers
sealed

Enumerates the items of a YamlSequence.

Inheritance

  • ValueType
  • Enumerator (YamlSequence)

Methods

public void Dispose() #

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public bool MoveNext() #

Advances the enumerator to the next element of the collection.

Returns

bool true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.

Exceptions

  • InvalidOperationException – The collection was modified after the enumerator was created.
public void Reset() #

Sets the enumerator to its initial position, which is before the first element in the collection.

Exceptions

  • InvalidOperationException – The collection was modified after the enumerator was created.
  • NotSupportedException – The enumerator does not support being reset.

Properties

public YamlNode Current { get; } #

Gets the element in the collection at the current position of the enumerator.