CopyItemToDocument (NotesItem - LotusScript®)

Copies an item to a specified document.

Defined in

NotesItem

Syntax

Set notesItem = notesItem .CopyItemToDocument( document , newName$ )

Parameters

document

NotesDocument. The document on which to create the item. If you specify Nothing, this method generates an error.

newName$

String. The name of the new item.

Return value

notesItem

NotesItem. The new item in the specified document, with the specified name.

Example