CopyItem

Copies and pastes an item in a presentation.

 

JavaScript

 

CopyItem(

       ItemID,

       NewParentID,

       InsertBeforeID)

 

C#

 

void CopyItem (

       string ItemID,

       string, NewParentID,

       string InsertBeforeID)

 

C++

 

HRESULT CopyItem (

       [in] BSTR ItemID,

       [in] BSTR NewParentID,

       [in] BSTR InsertBeforeID)

Parameters

ItemID

The ID of the presentation item to copy.

NewParentID

The ID of the presentation step in which the copied itemis pasted.

InsertBeforeID

The ID of the presentation action before which the copied item should be pasted.

Exceptions

See: HRESULT Return Values for a list of possible values returned by the HRESULT.