Udostępnij za pośrednictwem


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

See Also

Reference

OLEObject Class

OLEObject Members

Microsoft.Office.Tools.Excel Namespace