alexa
menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class RecordsInTableCollectionBase

    Represents the class that supports the read-only collection base class for RecordsInTableCollection and FilteredRecordsInTableCollection.

    Inheritance
    System.Object
    RecordsInTableCollectionBase
    FilteredRecordsInTableCollection
    RecordsInTableCollection
    Implements
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    System.IDisposable
    Namespace: Syncfusion.Grouping
    Assembly: Syncfusion.Grouping.Base.dll
    Syntax
    public class RecordsInTableCollectionBase : Object, IList, ICollection, IEnumerable, IDisposable

    Properties

    Count

    Gets the number of elements contained in collection.

    Declaration
    public int Count { get; }
    Property Value
    Type
    System.Int32
    Remarks

    The method calls EnsureInitialized(Object, Boolean).

    IsFixedSize

    Gets a value indicating whether the collection is of fixed size or not.

    Declaration
    public bool IsFixedSize { get; }
    Property Value
    Type
    System.Boolean

    IsReadOnly

    Gets a value indicating whether the collection is read-only or not.

    Declaration
    public bool IsReadOnly { get; }
    Property Value
    Type
    System.Boolean

    IsSynchronized

    Gets a value indicating whether the object can be used to synchronize access to the collection or not.

    Declaration
    public bool IsSynchronized { get; }
    Property Value
    Type
    System.Boolean

    Item[Int32]

    Gets the value of record at the specified index..

    Declaration
    public Record this[int index] { get; set; }
    Parameters
    Type Name Description
    System.Int32 index

    The index value.

    Property Value
    Type
    Record
    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).

    Exceptions
    Type Condition
    System.InvalidOperationException

    Since the collection is read-only, if set-operation is done the exception occurs.

    System.ArgumentOutOfRangeException

    If the index is invalid.

    Methods

    Contains(Record)

    Determines whether the element belongs to this collection or not.

    Declaration
    public bool Contains(Record value)
    Parameters
    Type Name Description
    Record value

    The Object to be located in the collection. The value can be a NULL reference (Nothing in Visual Basic).

    Returns
    Type Description
    System.Boolean

    True if item is found in the collection; Otherwise False.

    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).

    CopyTo(Record[], Int32)

    Copies the elements of the collection from a specific array index.

    Declaration
    public void CopyTo(Record[] array, int index)
    Parameters
    Type Name Description
    Record[] array

    The single-dimensional zero-index based array that stores the items.

    System.Int32 index

    The zero-based index in array at which copying begins.

    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).

    Dispose()

    Disposes of the object and releases internal objects.

    Declaration
    public void Dispose()

    GetEnumerator()

    Gets an enumerator for the entire collection.

    Declaration
    public RecordsInTableCollectionEnumerator GetEnumerator()
    Returns
    Type Description
    RecordsInTableCollectionEnumerator

    An instance of the RecordsInTableCollectionEnumerator class.

    Remarks

    Enumerators only allow reading the data in the collection. Enumerators cannot be used to modify the underlying collection.

    IndexOf(Record)

    Determines and gets the index of the specific item in the collection.

    Declaration
    public int IndexOf(Record value)
    Parameters
    Type Name Description
    Record value

    The item to be located in the collection. The value can be a NULL reference (Nothing in Visual Basic).

    Returns
    Type Description
    System.Int32

    The index of value if found in the list; Otherwise, -1.

    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).

    Implements

    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved