[]
Deletes this ITable object and clears the cell data from the worksheet.
Use this method to remove both the table definition and the cells covered by the table. To keep the data and remove only the table object, use ConvertToRange() instead.
void Delete()
Sub Delete()
worksheet.Range["A1:B3"].Value = new object[,] {
{"Name", "Value"},
{"Test", 100},
{"Sample", 200}
};
ITable table = worksheet.Tables.Add(worksheet.Range["A1:B3"], true);
table.Delete();