OLEObject.Delete Method (2007 System)
Deletes the OLEObject.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)
Syntax
'Declaration
Public Function Delete As Object
'Usage
Dim instance As OLEObject
Dim returnValue As Object
returnValue = instance.Delete()
public Object Delete()
public:
Object^ Delete()
public function Delete() : Object
Return Value
Type: System.Object
true if the deletion is successful; otherwise, false.
.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.