menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SearchNodeArray.Enumerator - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SearchNodeArray.Enumerator

    The node search enumerator.

    Inheritance
    System.Object
    SearchNodeArray.Enumerator
    Implements
    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.Diagram
    Assembly: Syncfusion.Diagram.Base.dll
    Syntax
    public class Enumerator : IEnumerator

    Constructors

    Enumerator(SearchNodeArray)

    Initializes a new instance of the SearchNodeArray.Enumerator class.

    Declaration
    public Enumerator(SearchNodeArray tc)
    Parameters
    Type Name Description
    SearchNodeArray tc

    The search node array.

    Properties

    Current

    Gets the current element in the collection.

    Declaration
    public SearchNode Current { get; }
    Property Value
    Type
    SearchNode
    Exceptions
    Type Condition
    System.InvalidOperationException

    The enumerator is positioned before the first element of the collection or after the last element.-or- The collection was modified after the enumerator was created.

    Methods

    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.

    Exceptions
    Type Condition
    System.InvalidOperationException

    The collection was modified after the enumerator was created.

    Reset()

    Sets the enumerator to its initial position, which is before the first element in the collection.

    Declaration
    public void Reset()
    Exceptions
    Type Condition
    System.InvalidOperationException

    The collection was modified after the enumerator was created.

    Explicit Interface Implementations

    IEnumerator.Current

    Gets the current element in the collection.

    Declaration
    object IEnumerator.Current { get; }
    Returns
    Type
    System.Object
    Exceptions
    Type Condition
    System.InvalidOperationException

    The enumerator is positioned before the first element of the collection or after the last element.-or- The collection was modified after the enumerator was created.

    Implements

    System.Collections.IEnumerator
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved