Class GenericBinaryTreeCollectionEnumerator<V>
Enumerator class for items of a GenericBinaryTreeCollection<V>.
Inheritance
System.Object
GenericBinaryTreeCollectionEnumerator<V>
Implements
System.Collections.Generic.IEnumerator<V>
System.Collections.IEnumerator
System.IDisposable
Namespace: Syncfusion.Windows.Collections.Generic
Assembly: Syncfusion.GridCommon.WPF.dll
Syntax
public class GenericBinaryTreeCollectionEnumerator<V> : Object, IEnumerator<V>, IEnumerator, IDisposable where V : ITreeTableEntryHost
Type Parameters
Name |
---|
V |
Constructors
GenericBinaryTreeCollectionEnumerator(GenericBinaryTreeCollection<V>)
Initalizes the enumerator and attaches it to the collection.
Declaration
public GenericBinaryTreeCollectionEnumerator(GenericBinaryTreeCollection<V> collection)
Parameters
Type | Name | Description |
---|---|---|
GenericBinaryTreeCollection<V> | collection | The parent collection to enumerate. |
Properties
Current
Gets the current item in the collection.
Declaration
public V Current { get; }
Property Value
Type |
---|
V |
Methods
Dispose()
Declaration
public void Dispose()
MoveNext()
Advances the enumerator to the next item of the collection.
Declaration
public bool MoveNext()
Returns
Type | Description |
---|---|
System.Boolean | True if the enumerator was successfully advanced to the next item; False if the enumerator has passed the end of the collection. |
Reset()
Sets the enumerator to its initial position, which is before the first item in the collection.
Declaration
public virtual void Reset()
Implements
System.Collections.Generic.IEnumerator<>
System.Collections.IEnumerator
System.IDisposable