DataTable.TableCleared 事件

定义

清除 DataTable 后发生。Occurs after a DataTable is cleared.

public:
 event System::Data::DataTableClearEventHandler ^ TableCleared;
public event System.Data.DataTableClearEventHandler TableCleared;
member this.TableCleared : System.Data.DataTableClearEventHandler 
Public Custom Event TableCleared As DataTableClearEventHandler 

事件类型

DataTableClearEventHandler

注解

TableCleared成功清除所有行后,但在 Clear 方法将控制权返回给调用方之前,事件会立即触发。The TableCleared event is fired immediately after all rows have been successfully cleared but before the Clear method returns control back to the caller. TableCleared如果在清除操作期间有任何异常,则不会触发事件。The TableCleared event is not fired if there are any exceptions during the clear operation.

适用于

另请参阅