ChartSheet.Delete Method
Deletes the Microsoft.Office.Interop.Excel.Chart object.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Syntax
'Declaration
Sub Delete
void Delete()
Remarks
This method deletes the underlying Microsoft.Office.Interop.Excel.Chart object but does not delete the Microsoft.Office.Tools.Excel.ChartSheet host item; therefore, it is recommended that this method not be used.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.