OLEObject.Duplicate Method (2003 System)
Duplicates the OLEObject and returns a reference to the new copy.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Syntax
'Declaration
Public Function Duplicate As Object
'Usage
Dim instance As OLEObject
Dim returnValue As Object
returnValue = instance.Duplicate()
public Object Duplicate()
Return Value
Type: System.Object
The new copy of the OLEObject.
Permissions
- 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.