IPXV_AttachList::Insert Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 3: Line 3:
 
{{#customTitle:IPXV_AttachList::Insert Method}}
 
{{#customTitle:IPXV_AttachList::Insert Method}}
 
{{#parentPage:PXV:IPXV_AttachList#Methods|Insert|method}}
 
{{#parentPage:PXV:IPXV_AttachList#Methods|Insert|method}}
 
  
 
Inserts item into attachment list.
 
Inserts item into attachment list.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT Insert([in]                    IPXC_FileSpec*  pItem,
+
<pre class="brush:cpp;gutter:false">HRESULT Insert([in]                    IPXC_FileSpec*  Item,
               [in, defaultvalue(-1)]  ULONG          nIndex);</pre>
+
               [in, defaultvalue(-1)]  ULONG          Index);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pItem
+
;Item
 
:[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
+
;Index
 
:[in, defaultvalue(-1)]  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 ==
Returns S_OK if the operation was successful, or will return an error code if it fails.  
+
Returns S_OK if the operation was successful, or will return an error code if it fails.
  
 
== See Also ==
 
== See Also ==
 
[[PXV:IPXV_AttachList|IPXV_AttachList]]
 
[[PXV:IPXV_AttachList|IPXV_AttachList]]

Revision as of 07:23, 12 June 2015

Inserts item into attachment list.

Syntax

HRESULT Insert([in]                    IPXC_FileSpec*  Item,
               [in, defaultvalue(-1)]  ULONG           Index);

Parameters

Item
[in] Pointer to IPXC_FileSpec containing the item to insert into the attachments list.
Index
[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