Udostępnij za pośrednictwem


OLEObject.Duplicate Method (2007 System)

Duplicates the OLEObject and returns a reference to the new copy.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)

Syntax

'Declaration
Public Function Duplicate As Object
'Usage
Dim instance As OLEObject 
Dim returnValue As Object 

returnValue = instance.Duplicate()
public Object Duplicate()
public:
Object^ Duplicate()
public function Duplicate() : Object

Return Value

Type: System.Object
The new copy of the OLEObject.

.NET Framework Security

See Also

Reference

OLEObject Class

OLEObject Members

Microsoft.Office.Tools.Excel Namespace