ConditionalObjectCollection Class
Represents a base class for a collections of ConditionalObjects used in conditional formatting.
public abstract class ConditionalObjectCollection : IEnumerable
Public MustInherit Class ConditionalObjectCollection
Implements IEnumerable
- Inheritance:
- System.ObjectConditionalObjectCollection
- Derived
Implements
System.Collections.IEnumerable
Properties
Count
Gets the number of conditional objects contained in the ConditionalObjectCollection.
Property Value
- System.Int32
The number of conditional objects contained in the ConditionalObjectCollection.
Item[Int32]
Gets the conditional object at the specified index.
public ConditionalObject this[int index] { get; }
Public ReadOnly Property Item(index As Integer) As ConditionalObject
Parameters
index
- System.Int32
The zero-based index of the conditional object to get.
Property Value
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.
public IEnumerator<ConditionalObject> GetEnumerator()
Public Function GetEnumerator As IEnumerator(Of ConditionalObject)
Returns
- System.Collections.Generic.IEnumerator<ConditionalObject>
An enumerator that can be used to iterate through the ConditionalObjectCollection.
Implements
System.Collections.IEnumerable