IPXV_AttachList::Insert Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 5: Line 5:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT Insert([in] IPXC_FileSpec* pItem, [in, optional] ULONG nIndex);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT Insert([in] IPXC_FileSpec* pItem, [in, defaultvalue(-1)] ULONG nIndex);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 11: Line 11:
 
:[in]  Pointer to [[PXV:IPXC_FileSpec|IPXC_FileSpec]] containing the item to insert into the attachments list.
 
:[in]  Pointer to [[PXV:IPXC_FileSpec|IPXC_FileSpec]] containing the item to insert into the attachments list.
 
;''nIndex''
 
;''nIndex''
:[in, optional]  Index in the attachments list where the item will be inserted.
+
:[in, defaultvalue(-1)]  Index in the attachments list where the item will be inserted.
  
 
== Return Value ==
 
== Return Value ==

Revision as of 00:33, 17 April 2015

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 operation was successful or error code in other cases.

See Also

See also IPXV_AttachList.