IPXC_NameTree::Add Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 7: Line 7:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT Add([in]  BSTR              sName,
+
<pre class="brush:cpp;gutter:false">HRESULT Add([in]  BSTR              Name,
             [in]  IPXS_PDFVariant*  pValue);</pre>
+
             [in]  IPXS_PDFVariant*  Value);</pre>
  
 
== Parameters ==
 
== Parameters ==
;sName
+
;Name
 
:[in]  Name of the item.
 
:[in]  Name of the item.
;pValue
+
;Value
 
:[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.
  

Revision as of 07:06, 12 June 2015

Adds new item to the name tree.

Syntax

HRESULT Add([in]  BSTR              Name,
            [in]  IPXS_PDFVariant*  Value);

Parameters

Name
[in] Name of the item.
Value
[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