IPXC_NameTree::Add Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 2: | Line 2: | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IPXC_NameTree::Add Method}} | {{#customTitle:IPXC_NameTree::Add Method}} | ||
− | {{#parentPage:PXV:IPXC_NameTree|Add Method|method}} | + | {{#parentPage:PXV:IPXC_NameTree#Methods|Add Method|method}} |
− | + | ||
Adds new item to the name tree. | Adds new item to the name tree. | ||
Line 18: | Line 17: | ||
== Return Value == | == Return Value == | ||
− | Returns S_OK if the operation was successful, or will return an error code if it fails. | + | Returns S_OK if the operation was successful, or will return an error code if it fails. |
== See Also == | == See Also == | ||
[[PXV:IPXC_NameTree|IPXC_NameTree]]. | [[PXV:IPXC_NameTree|IPXC_NameTree]]. |
Revision as of 13:42, 21 May 2015
Adds new item to the name tree.
Syntax
HRESULT Add([in] BSTR pName, [in] IPXS_PDFVariant* pValue);
Parameters
- pName
- [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.