IPXC_Bookmark::AddChild Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_Bookmark::AddChild Method}}
 
{{#customTitle:IPXC_Bookmark::AddChild Method}}
{{#parentPage:PXV:IPXC_Bookmark|method}}
+
{{#parentPage:PXV:IPXC_Bookmark#Methods|AddChild|method}}
{{ToWrite}}
+
{{ToReview}}
+
  
 
Adds an existing bookmark as a child to the bookmark's sub-tree.
 
Adds an existing bookmark as a child to the bookmark's sub-tree.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT AddChild([in] IPXC_Bookmark* pChild, [in] VARIANT_BOOL bLast);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT AddChild([in] IPXC_Bookmark* pChild,
 +
                [in] VARIANT_BOOL   bLast);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pChild''
+
;pChild
 
:[in]  Pointer to [[PXV:IPXC_Bookmark|IPXC_Bookmark]] containing the child to be added to the sub-tree.
 
:[in]  Pointer to [[PXV:IPXC_Bookmark|IPXC_Bookmark]] containing the child to be added to the sub-tree.
;''bLast''
+
;bLast
 
:[in]  Choose whether the inserted child should be last or first in the bookmark's sub tree.
 
:[in]  Choose whether the inserted child should be last or first in the bookmark's sub tree.
  
 
== 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:IPXC_Bookmark|IPXC_Bookmark]].
+
[[PXV:IPXC_Bookmark|IPXC_Bookmark]]

Latest revision as of 03:20, 15 June 2015

Adds an existing bookmark as a child to the bookmark's sub-tree.

Syntax

HRESULT AddChild([in]  IPXC_Bookmark*  pChild,
                 [in]  VARIANT_BOOL    bLast);

Parameters

pChild
[in] Pointer to IPXC_Bookmark containing the child to be added to the sub-tree.
bLast
[in] Choose whether the inserted child should be last or first in the bookmark's sub tree.

Return Value

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

See Also

IPXC_Bookmark