Version

Item(String) Property

Gets the sheet with the specified name.
Syntax
'Declaration
 
Public Overloads ReadOnly Property Item( _
   ByVal name As String _
) As Sheet
public Sheet Item( 
   string name
) {get;}

Parameters

name
The name of the sheet to get.

Property Value

The sheet with the specified name.
Exceptions
ExceptionDescription
System.InvalidOperationException A sheet with the specified name does not exist in the collection.
Remarks

Sheet names are compared case-insensitively.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also