IPXV_BookmList::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_Bookmark* pItem, [in, optional] ULONG nIndex);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT Insert([in] IPXC_Bookmark* pItem, [in, defaultvalue(-1)] ULONG nIndex);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 11: Line 11:
 
:[in]  Pointer to [[PXV:IPXC_Bookmark|IPXC_Bookmark]] containing the bookmark that would be inserted into the bookmarks list.
 
:[in]  Pointer to [[PXV:IPXC_Bookmark|IPXC_Bookmark]] containing the bookmark that would be inserted into the bookmarks list.
 
;''nIndex''
 
;''nIndex''
:[in, optional]  The index in the bookmarks list where the bookmark would be inserted.
+
:[in, defaultvalue(-1)]  The index in the bookmarks list where the bookmark would be inserted.
  
 
== Return Value ==
 
== Return Value ==

Revision as of 00:35, 17 April 2015

Inserts item into bookmarks list.

Syntax

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

Parameters

pItem
[in] Pointer to IPXC_Bookmark containing the bookmark that would be inserted into the bookmarks list.
nIndex
[in, defaultvalue(-1)] The index in the bookmarks list where the bookmark would be inserted.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

See also IPXV_BookmList.