Class TreeNodesEnumerator
Inheritance
System.Object
TreeNodesEnumerator
Implements
System.Collections.Generic.IEnumerator<TreeNode>
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.Controls.VirtualTreeView
Assembly: Syncfusion.GridCommon.Wpf.dll
Syntax
public class TreeNodesEnumerator : IEnumerator<TreeNode>, IDisposable, IEnumerator
Constructors
TreeNodesEnumerator(TreeNodes)
Initalizes the enumerator and attaches it to the collection.
Declaration
public TreeNodesEnumerator(TreeNodes collection)
Parameters
Type | Name | Description |
---|---|---|
TreeNodes | collection | The parent collection to enumerate. |
Properties
Current
Gets the current element in the collection.
Declaration
public TreeNode Current { get; }
Property Value
Type |
---|
TreeNode |
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
MoveNext()
Advances the enumerator to the next element of the collection.
Declaration
public bool MoveNext()
Returns
Type | Description |
---|---|
System.Boolean | True if the enumerator was successfully advanced to the next element; False if the enumerator has passed the end of the collection. |
Reset()
Sets the enumerator to its initial position, which is before the first element 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