Excerpt |
---|
Returns the worksheet at the specified position. This property is an indexer for the Worksheets class. |
Signature |
---|
C# | C# | Wiki Markup |
---|
{description}
{excerpt}Returns the worksheet at the specified position. This property is an indexer for the [Worksheets|Worksheets] class.{excerpt}
{signature: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
|
...
The 0-based position the worksheet to get.
Returns |
---|
The worksheet at the specified position. |
Example |
---|
Code Block |
---|
| csharp | csharp |
title | C# |
---|
{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#}
Worksheet Sheet1 = oWorkbook.Worksheet[0];
Code Block |
---|
{code}
{code:vb.net
vb.net | title | |title=vb.net
}
Dim Sheet1 As Worksheet = oWorkbook.Worksheet(0){code}
{example}