Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Description

Excerpt

Returns the cell at the specified Excel-style

...

reference.

...

This

...

property

...

is

...

an

...

indexer

...

for

...

the

...

Worksheet

...

class.

...

Signature
C#
C#
 public Cell this[string reference] { get; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Default ReadOnly Property Item(ByVal reference As String) As Cell
{signature}
{parameters}
{param:rowNumber}The 
Parameters
Param
rowNumber
rowNumber

The Excel-style

reference

of

the

cell

to

retrieve.

{param} {param:columnNumber}The

Param
columnNumber
columnNumber

The Excel-style

reference

of

the

cell

to

retrieve.

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

Returns

A Cell object representing the cell at the specified Excel-style

reference.

{returns} {example}{code:csharp|title=C#}

Example
Code Block
csharp
csharp
titleC#

          //--- Get Cell by Excel-style reference
          Cell cellA1 = ws["A1"];
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}

          '--- Get Cell by Excel-style reference
          Dim cellA1 As Cell = ws("A1")
        
{code} {example}