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:
- System.ObjectExcelRowColumnCollectionBase<T>
- Derived
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
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
- System.Int32
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
- System.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
- System.Collections.Generic.IEnumerator<T>
An System.Collections.Generic.IEnumerator<T> that can be used to iterate through the collection.
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable