Excerpt |
---|
Returns the worksheet with the specified name. This property is an indexer for the Worksheets class. |
Signature |
---|
C# | C# | Wiki Markup |
---|
{description}
{excerpt}Returns the worksheet with the specified name. This property is an indexer for the [Worksheets|Worksheets] class.{excerpt}
{signature:C#}
public Worksheet this[string name] { get; }
|
Signature |
---|
{signature}{signature:vb.net | vb.net | }
Public Default ReadOnly Property Item(ByVal name As String) As Worksheet
|
...
The name of the worksheet to get.
Returns |
---|
The worksheet with the specified name. |
Example |
---|
Code Block |
---|
| csharp | csharp |
title | C# |
---|
{signature}
{parameters}
{param:name}The name of the worksheet to get.{param}
{returns}The worksheet with the specified name.{returns}
{example}{code:csharp|title=C#}
Worksheet Sheet1 = oWorkbook.Worksheet["Sheet1"];
Code Block |
---|
{code}
{code:vb.net
vb.net | title | |title=vb.net
}
Dim Sheet1 As Worksheet = oWorkbook.Worksheet("Sheet1"){code}
{example}