Class GenericBinaryTreeWithSummaryCollectionEnumerator<V>
Enumerator class for items of a GenericBinaryTreeWithSummaryCollection<V>.
Inheritance
System.Object
GenericBinaryTreeWithSummaryCollectionEnumerator<V>
Implements
System.Collections.Generic.IEnumerator<V>
System.Collections.IEnumerator
System.IDisposable
Namespace: Syncfusion.Maui.GridCommon.Collections.Generic
Assembly: Syncfusion.Maui.GridCommon.dll
Syntax
public class GenericBinaryTreeWithSummaryCollectionEnumerator<V> : Object, IEnumerator<V>, IEnumerator, IDisposable where V : ITreeTableEntryHost
Type Parameters
Name |
---|
V |
Constructors
GenericBinaryTreeWithSummaryCollectionEnumerator(GenericBinaryTreeWithSummaryCollection<V>)
Initalizes the enumerator and attaches it to the collection.
Declaration
public GenericBinaryTreeWithSummaryCollectionEnumerator(GenericBinaryTreeWithSummaryCollection<V> collection)
Parameters
Type | Name | Description |
---|---|---|
GenericBinaryTreeWithSummaryCollection<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()
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
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