Static
$tStatic
nextGets the number of worksheets in the collection. The number of worksheets in the collection.
Creates a new [[Worksheet]] and adds it to the collection.
If the workbook originally had no worksheets, the newly added worksheet will become the selected worksheet of the workbook. This can be changed after more worksheets are added by setting the [[WindowOptions.selectedWorksheet]] of the Workbook.
[[ArgumentNullException]] 'name' is null or empty.
[[ArgumentException]] 'name' contains the invalid characters: ':', '', '/', '?', '*', '[', or ']'.
[[ArgumentException]] 'name' exceeds 31 characters in length.
[[ArgumentException]] 'name' is being used as the name of another worksheet (worksheet names are case-insensitively compared).
The name to give the new Worksheet.
Determines whether a worksheet is in the collection.
The worksheet to locate in the collection.
Gets the index of the specified worksheet in the collection.
[[Worksheet.index]]
The worksheet of which to get the index.
Gets the worksheet at the specified index. The worksheet at the specified index.
[[ArgumentOutOfRangeException]] 'index' is less than zero or 'index' is greater than or equal to [[count]].
The zero-based index of the worksheet to get.
Gets the worksheet with the specified name.
Worksheet names are compared case-insensitively.
The worksheet with the specified name.[[InvalidOperationException]] A worksheet with the specified name does not exist in the collection.
[[Sheet.name]]
The name of the worksheet to get.
Removes the worksheet at the specified index from the collection.
If there are any [[NamedReference]] instances in the [[Workbook.namedReferences]] collection with the worksheet to remove as their scope, they will be removed from the [[Workbook]].
[[ArgumentOutOfRangeException]] 'index' is less than zero or 'index' is greater than or equal to [[count]].
The index of the worksheet to remove from the collection.
Removes the specified worksheet from the collection.
If there are any [[NamedReference]] instances in the [[Workbook.namedReferences]] collection with the worksheet to remove as their scope, they will be removed from the [[Workbook]].
The worksheet to remove from the collection.
Static
compareStatic
compareStatic
equalsStatic
equalsStatic
getStatic
getStatic
getStatic
reference
A collection of worksheets in a workbook.
See