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:
- System.ObjectConditionalObjectCollection<T>
- Derived
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
Properties
Count
Gets the number of conditional objects contained in the ConditionalObjectCollection<T>.
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.
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>.
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