IPXV_AttachList::Insert Method

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

Latest revision as of 03:47, 15 June 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 the operation was successful, or will return an error code if it fails.

See Also

IPXV_AttachList