IPXC_NameTree::Item 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 Item([in]  ULONG              nIndex,
+
<pre class="brush:cpp;gutter:false">HRESULT Item([in]  ULONG              Index,
             [out]  BSTR*              sName,
+
             [out]  BSTR*              Name,
             [out]  IPXS_PDFVariant**  pValue);</pre>
+
             [out]  IPXS_PDFVariant**  Value);</pre>
  
 
== Parameters ==
 
== Parameters ==
;nIndex
+
;Index
 
:[in]  Index of the item to get from the name tree.
 
:[in]  Index of the item to get from the name tree.
;sName
+
;Name
 
:[out]  Resulting name of the item.
 
:[out]  Resulting name of the item.
;pValue
+
;Value
 
:[out]  Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]] containing the data of the item.
 
:[out]  Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]] containing the data of the item.
  

Revision as of 07:06, 12 June 2015

Gets item by index with it's structure variant.

Syntax

HRESULT Item([in]   ULONG              Index,
             [out]  BSTR*              Name,
             [out]  IPXS_PDFVariant**  Value);

Parameters

Index
[in] Index of the item to get from the name tree.
Name
[out] Resulting name of the item.
Value
[out] Pointer to IPXS_PDFVariant containing the data of the item.

Return Value

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

See Also

IPXC_NameTree