Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

Represents a single cell in a Cells collection. Item is the indexer of the Cells collection, so Cells[0, 0] is equivalent to Cells.Item[0, 0].

Signature
C#C#
Wiki Markup
{description}
{excerpt}Represents a single cell in a [Cells|Cells] collection. [Item|Cells.Item] is the indexer of the {{Cells}} collection, so {{Cells\[0, 0\]}} is equivalent to {{Cells.Item\[0, 0\]}}.{excerpt}

{signature:C#}
 public Cell this[int rowNumber, int columnNumber] { get; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Default ReadOnly Property Item(ByVal rowNumber As Integer, ByVal columnNumber As Integer) As Cell
Parameters

...

The 0-based row number of the cell to retrieve.

...

The 0-based column number of the cell to retrieve.

Returns

A Cell object representing the cell at the specified position.

{signature}

{parameters}
{param:rowNumber}The 0\-based row number of the cell to retrieve.{param}
{param:columnNumber}The 0\-based column number of the cell to retrieve.{param}

{returns}A [Cell|Cell] object representing the cell at the specified position.{returns}

{example}
{code:csharp|title=C#}
Cell cellA1 = cls[0, 0];
{code}
{code:vb.net
|title=vb.net
}
Dim cellA1 As Cell = cls(0, 0)
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle

...

{code}

{example}
{scrollbar}