[]
Initializes a new instance of the SheetEventArgs class with the specified worksheet.
The provided worksheet is stored by this instance and can be retrieved by using Sheet.
public SheetEventArgs(IWorksheet sheet)
Public Sub New(sheet As IWorksheet)
| Type | Name | Description |
|---|---|---|
| IWorksheet | sheet | The IWorksheet associated with the event arguments. The reference is stored as provided. |
worksheet.Name = "Data";
SheetEventArgs args = new SheetEventArgs(worksheet);
IWorksheet sheet = args.Sheet;