GemBox.Spreadsheet
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    ConditionalObjectCollection<T> Class

    Namespace:
    GemBox.Spreadsheet.ConditionalFormatting
    Assembly:
    GemBox.Spreadsheet.dll

    Represents a base class for a collections of ConditionalObject-derived instances used in conditional formatting.

    • C#
    • VB.NET
    public abstract class ConditionalObjectCollection<T> : ConditionalObjectCollection, IEnumerable<T>, IEnumerable
    Public MustInherit Class ConditionalObjectCollection(Of T As ConditionalObject)
        Inherits ConditionalObjectCollection
        Implements IEnumerable(Of T), IEnumerable
    Type Parameters
    T

    A ConditionalObject-derived type.

    Inheritance:
    System.Object
    ConditionalObjectCollection
    ConditionalObjectCollection<T>
    Derived
    ConditionalIconCollection
    Implements
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable

    Properties

    Count

    Gets the number of conditional objects contained in the ConditionalObjectCollection<T>.

    • C#
    • VB.NET
    public int Count { get; }
    Public ReadOnly Property Count As Integer
    Property Value
    System.Int32

    Gets the number of conditional objects contained in the ConditionalObjectCollection<T>.

    Item[Int32]

    Gets the conditional object at the specified index.

    • C#
    • VB.NET
    public T this[int index] { get; }
    Public ReadOnly Property Item(index As Integer) As T
    Parameters
    index
    System.Int32

    The zero-based index of the conditional object to get.

    Property Value
    T

    The conditional object at the specified index.

    Exceptions
    System.ArgumentOutOfRangeException

    index is less than 0 or is equal to or greater than Count.

    Methods

    GetEnumerator()

    Returns an enumerator that iterates through the ConditionalObjectCollection<T>.

    • C#
    • VB.NET
    public IEnumerator<T> GetEnumerator()
    Public Function GetEnumerator As IEnumerator(Of T)
    Returns
    System.Collections.Generic.IEnumerator<T>

    An enumerator that can be used to iterate through the ConditionalObjectCollection<T>.

    Implements

    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.