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 worksheet at the specified position. This property is an indexer for the Worksheets class.

Signature
C#
C#
 public Worksheet this[int position] { get; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Default ReadOnly Property Item(ByVal position As Integer) As Worksheet
{signature}
{parameters}
{param:position}The 0\-based position the worksheet to get.{param}
{returns}The worksheet at the specified position.{returns}
{example}{code:csharp|title=C#}
Parameters
Param
position
position

The 0-based position the worksheet to get.

Returns

The worksheet at the specified position.

Example
Code Block
csharp
csharp
titleC#

Worksheet Sheet1 = oWorkbook.Worksheet[0];
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}

Dim Sheet1 As Worksheet = oWorkbook.Worksheet(0)
{code} {example}