Excel.TableDeletedEventArgs interface

提供有关引发了 OnDeleted 事件的表的信息。Provides information about the table that raised the OnDeleted event.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

属性

source

指定时间源。Specifies the source of the event. 有关详细信息,请参阅 Excel.EventSource。See Excel.EventSource for details.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

tableId

指定已删除的表格的 ID。Specifies the id of the table that is deleted.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

tableName

指定已删除的表格的名称。Specifies the name of the table that is deleted.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

type

指定事件类型。Specifies the type of the event. 有关详细信息,请参阅 Excel.EventType。See Excel.EventType for details.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

worksheetId

指定已在其内删除表格的工作表的 ID。Specifies the id of the worksheet in which the table is deleted.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

属性详细信息

source

指定时间源。Specifies the source of the event. 有关详细信息,请参阅 Excel.EventSource。See Excel.EventSource for details.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

source: Excel.EventSource | "Local" | "Remote";

属性值

Excel.EventSource | "Local" | "Remote"

tableId

指定已删除的表格的 ID。Specifies the id of the table that is deleted.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

tableId: string;

属性值

string

tableName

指定已删除的表格的名称。Specifies the name of the table that is deleted.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

tableName: string;

属性值

string

type

指定事件类型。Specifies the type of the event. 有关详细信息,请参阅 Excel.EventType。See Excel.EventType for details.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

type: "TableDeleted";

属性值

"TableDeleted"

worksheetId

指定已在其内删除表格的工作表的 ID。Specifies the id of the worksheet in which the table is deleted.

[API 集: ExcelApi 1.9][ API set: ExcelApi 1.9 ]

worksheetId: string;

属性值

string