Class FileNodeIterator
Used to iterate through sequences and mappings.
public class FileNodeIterator : UnmanagedObject, IDisposable, IEquatable<FileNodeIterator>
- Inheritance
-
FileNodeIterator
- Implements
- Inherited Members
Constructors
FileNodeIterator(FileNode, bool)
Create a FileNodeIterator from a specific node.
public FileNodeIterator(FileNode node, bool seekEnd)
Parameters
node
FileNodethe collection to iterate over
seekEnd
boolTrue if iterator needs to be set after the last element of the node
Methods
DisposeObject()
Release the unmanaged resources
protected override void DisposeObject()
Equals(FileNodeIterator)
Check if the current iterator equals to the other.
public bool Equals(FileNodeIterator iterator)
Parameters
iterator
FileNodeIteratorThe other iterator to compares with.
Returns
- bool
True if the current iterator equals to the other
GetFileNode()
Get the currently observed element
public FileNode GetFileNode()
Returns
- FileNode
The currently observed element
Next()
moves iterator to the next node
public void Next()