ChartSheet.Delete Method (2007 System)
Deletes the Chart object.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)
Syntax
'Declaration
Public Sub Delete
'Usage
Dim instance As ChartSheet
instance.Delete()
public void Delete()
public:
void Delete()
public function Delete()
Remarks
This method deletes the underlying 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.