IPXC_NameTree::Lookup Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IPXC_NameTree::Lookup Method}} | {{#customTitle:IPXC_NameTree::Lookup Method}} | ||
− | {{#parentPage:PXV:IPXC_NameTree#Methods|Lookup | + | {{#parentPage:PXV:IPXC_NameTree#Methods|Lookup|method}} |
Gets structure variant by item name. | Gets structure variant by item name. | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT Lookup([in] BSTR | + | <pre class="brush:cpp;gutter:false">HRESULT Lookup([in] BSTR sName, |
− | [out, retval] IPXS_PDFVariant** | + | [out, retval] IPXS_PDFVariant** pValue);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;sName |
:[in] Name of the item to look for in the name tree. | :[in] Name of the item to look for in the name tree. | ||
− | ; | + | ;pValue |
:[out, retval] Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]] containing the resulting data of the item if found in the name tree. | :[out, retval] Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]] containing the resulting data of the item if found in the name tree. | ||
Latest revision as of 02:30, 15 June 2015
Gets structure variant by item name.
Syntax
HRESULT Lookup([in] BSTR sName, [out, retval] IPXS_PDFVariant** pValue);
Parameters
- sName
- [in] Name of the item to look for in the name tree.
- pValue
- [out, retval] Pointer to IPXS_PDFVariant containing the resulting data of the item if found in the name tree.
Return Value
Returns S_OK if the operation was successful, or will return an error code if it fails.