LOTUSSCRIPT/COM/OLE CLASSES


CopyItem method
Example

Given an item, copies it into the current document and optionally assigns the copied item a new name.

Defined in

NotesDocument

Syntax

Set notesItem = notesDocument.CopyItem( item, newName$ )

OR

Call notesDocument.CopyItem( item, newName$ )

Use the Call statement when the program does not require the return value. Use the Set statement if the program requires the return value. Both statements yield the same results for this method.

Parameters

item


newName$
Return value

notesItem


Language cross-reference

copyItem method in Java Document class

Example
See Also