Class GenericBinaryTreeWithSummaryCollectionEnumerator<V>
Enumerator class for items of a GenericBinaryTreeWithSummaryCollection<V>.
Inherited Members
Namespace: Syncfusion.Maui.GridCommon.Collections.Generic
Assembly: Syncfusion.Maui.GridCommon.dll
Syntax
public class GenericBinaryTreeWithSummaryCollectionEnumerator<V> : 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(bool)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing |
MoveNext()
Advances the enumerator to the next item of the collection.
Declaration
public bool MoveNext()
Returns
| Type | Description |
|---|---|
| bool | 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()