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
- 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.