Class GenericBinaryTreeCollectionEnumerator<V>
Enumerator class for items of a GenericBinaryTreeCollection<V>.
Inheritance
System.Object
GenericBinaryTreeCollectionEnumerator<V>
Implements
System.Collections.Generic.IEnumerator<V>
System.IDisposable
System.Collections.IEnumerator
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Collections.Generic
Assembly: Syncfusion.Spreadsheet.Windows.dll
Syntax
public class GenericBinaryTreeCollectionEnumerator<V> : IEnumerator<V>, IDisposable, IEnumerator 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()
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()
Explicit Interface Implementations
IEnumerator.Current
Declaration
object IEnumerator.Current { get; }
Returns
Type |
---|
System.Object |
Implements
System.Collections.Generic.IEnumerator<T>
System.IDisposable
System.Collections.IEnumerator