menu

WinForms

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

    Show / Hide Table of Contents

    Class SelectedRecordsCollectionEnumerator

    Implements enumerator class for Record elements of a SelectedRecordsCollection.

    Inheritance
    System.Object
    SelectedRecordsCollectionEnumerator
    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.Grouping
    Assembly: Syncfusion.Grouping.Base.dll
    Syntax
    public class SelectedRecordsCollectionEnumerator : IEnumerator

    Constructors

    SelectedRecordsCollectionEnumerator(SelectedRecordsCollection)

    Initializes a new instance of SelectedRecordsCollectionEnumerator class and attaches it to the collection.

    Declaration
    public SelectedRecordsCollectionEnumerator(SelectedRecordsCollection collection)
    Parameters
    Type Name Description
    SelectedRecordsCollection collection

    The parent collection to enumerate.

    Remarks

    The method ensures that the collection is in sync with the underlying table if changes have been made to the table or the TableDescriptor.

    The method calls EnsureInitialized(Object, Boolean).

    Properties

    Current

    Gets the current element in the collection.

    Declaration
    public SelectedRecord Current { get; }
    Property Value
    Type
    SelectedRecord

    Methods

    MoveNext()

    Determines whether the enumerator moves 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

    Gets the current element in the collection.

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

    Implements

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