Note

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

Access to this page requires authorization. You can try .

DataTable.TableClearing 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 when a DataTable is cleared.

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

Event Type

Remarks

The TableClearing event is fired before processing of the Clear operation begins. This event is always fired when the Clear method is invoked, even if the table contains zero rows.

Applies to

See also


Feedback

Was this page helpful?