A collection of cells in a row.

Cells in this collection are lazily created (they are only created and added to the collection when they are accessed). If this collection is enumerated, it only enumerates the cells which were already accessed.

See

  • [[WorksheetCell]]
  • [[WorksheetRow.cells]]

Hierarchy

Hierarchy (view full)

Constructors

Properties

$type: Type
$t: Type
nextHashCode: number

Accessors

  • get maxCount(): number
  • Gets the maximum number of items allowed in this collection.

    Returns number

Methods

  • Parameters

    • a: number
    • b: number
    • c: boolean

    Returns IEnumerable$1<WorksheetCell>

  • Returns IEnumerator$1<WorksheetCell>

  • Parameters

    • other: any

    Returns boolean

  • Gets the cell at the specified column index in the owning row.

    Note: Iterating the collection will not create all cells. It will only iterate the cells which have already been used. To create and iterate all cells in the worksheet use a For loop, iterating from 0 to one less than the maximum column count, and pass in each index to the collection's indexer.

    The cell at the specified column index in the owning row.

    Throws

    [[ArgumentOutOfRangeException]] 'index' is less than zero.

    Throws

    [[InvalidOperationException]] If the row was removed from the worksheet.

    Throws

    [[InvalidOperationException]] 'index' is greater than or equal to [[Workbook.maxExcelColumnCount]] or [[Workbook.maxExcel2007ColumnCount]], depending on the [[Workbook.currentFormat]].

    Parameters

    • a: number

    Returns WorksheetCell

  • Parameters

    • item1: any
    • item2: any

    Returns number

  • Parameters

    • item1: any
    • item2: any

    Returns number

  • Parameters

    • item1: any
    • item2: any

    Returns boolean

  • Parameters

    • a: any
    • b: any

    Returns boolean