IPXV_AttachList::Insert Method

From PDF XChange PDF SDK
Jump to: navigation, search

Inserts item into attachment list.

Syntax

HRESULT Insert([in]                    IPXC_FileSpec*  pItem,
               [in, defaultvalue(-1)]  ULONG           nIndex);

Parameters

pItem
[in] Pointer to IPXC_FileSpec containing the item to insert into the attachments list.
nIndex
[in, defaultvalue(-1)] Index in the attachments list where the item will be inserted.

Return Value

Returns S_OK if the operation was successful, or will return an error code if it fails.

See Also

IPXV_AttachList