Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

DataTable.TableCleared Event

Definition

Namespace:
System.Data
Assemblies:
netstandard.dll, System.Data.Common.dll
Assembly:
System.Data.Common.dll
Assembly:
System.Data.dll
Assembly:
netstandard.dll
Source:
DataTable.cs
Source:
DataTable.cs
Source:
DataTable.cs
Source:
DataTable.cs
Source:
DataTable.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Occurs after a DataTable is cleared.

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

Event Type

Remarks

The TableCleared event is fired immediately after all rows have been successfully cleared but before the Clear method returns control back to the caller. The TableCleared event is not fired if there are any exceptions during the clear operation.

Applies to

See also


Feedback

Was this page helpful?