IPXC_NameTree::Add Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_NameTree::Add Method}}
 
{{#customTitle:IPXC_NameTree::Add Method}}
{{#parentPage:PXV:IPXC_NameTree|method}}
+
{{#parentPage:PXV:IPXC_NameTree#Methods|Add|method}}
{{ToReview}}
+
  
 
Adds new item to the name tree.
 
Adds new item to the name tree.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT Add([in] BSTR pName, [in] IPXS_PDFVariant* pValue);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT Add([in] BSTR             sName,
 +
            [in] IPXS_PDFVariant* pValue);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pName''
+
;sName
 
:[in]  Name of the item.
 
:[in]  Name of the item.
;''pValue''
+
;pValue
 
:[in]  Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]] contains the structure variant with item data.
 
:[in]  Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]] contains the structure variant with item data.
  
 
== 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_NameTree|IPXC_NameTree]].
+
[[PXV:IPXC_NameTree|IPXC_NameTree]]

Latest revision as of 03:30, 15 June 2015

Adds new item to the name tree.

Syntax

HRESULT Add([in]  BSTR              sName,
            [in]  IPXS_PDFVariant*  pValue);

Parameters

sName
[in] Name of the item.
pValue
[in] Pointer to IPXS_PDFVariant contains the structure variant with item data.

Return Value

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

See Also

IPXC_NameTree