ConditionalObjectCollection<T> Class
Represents a base class for a collections of ConditionalObject-derived instances used in conditional formatting.
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:
- ConditionalObjectCollection<T>
- Derived
Properties
Count
Gets the number of conditional objects contained in the ConditionalObjectCollection<T>.
Property Value
Gets the number of conditional objects contained in the ConditionalObjectCollection<T>.
Item[Int32]
Gets the conditional object at the specified index.
Parameters
index
- 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>.
Returns
- IEnumerator<T>
An enumerator that can be used to iterate through the ConditionalObjectCollection<T>.