ExcelRowColumnCollectionBase<T> Class
Generic base class for row and column collections.
public abstract class ExcelRowColumnCollectionBase<T> : ExcelRowColumnCollectionBase, IEnumerable<T>, IEnumerable
Public MustInherit Class ExcelRowColumnCollectionBase(Of T As ExcelColumnRowBase)
Inherits ExcelRowColumnCollectionBase
Implements IEnumerable(Of T), IEnumerable
Type Parameters
T
Type of the items in the collection, either ExcelRow or ExcelColumn.
- Inheritance:
- ExcelRowColumnCollectionBase<T>
- Derived
Properties
Count
Gets the number of currently allocated elements (dynamically changes when worksheet is modified -- read remarks).
public sealed override int Count { get; }
Public NotOverridable Overrides ReadOnly Property Count As Integer
Property Value
Overrides
Item[Int32]
Gets the row / column with the specified index.
public abstract T this[int index] { get; }
Public MustOverride ReadOnly Property Item(index As Integer) As T
Parameters
index
- Int32
The zero-based index of the row / column.
Property Value
- T
Item[String]
Gets the row / column with the specified name.
Parameters
name
- System.String
The name of the row / column.
Property Value
- T
Methods
GetEnumerator()
Returns an enumerator that iterates through the collection.
Returns
- IEnumerator<T>
An IEnumerator<T> that can be used to iterate through the collection.