WorksheetCollection.Item

WorksheetCollection indexer (1 of 2)

Gets the Worksheet element at the specified index.

public Worksheet this[int index] { get; }
ParameterDescription
indexThe zero based index of the element.

Return Value

The element at the specified index.

See Also


WorksheetCollection indexer (2 of 2)

Gets the Worksheet element with the specified name.

public Worksheet this[string sheetName] { get; }
ParameterDescription
sheetNameThe name of the worksheet.

Return Value

The Worksheet with the name.

See Also