IUniqueStrings::Find Method

From PDF XChange PDF SDK
Jump to: navigation, search
 
(3 intermediate revisions by one other user not shown)
Line 3: Line 3:
 
{{#customTitle:IUniqueStrings::Find Method}}
 
{{#customTitle:IUniqueStrings::Find Method}}
 
{{#parentPage:PXV:IUniqueStrings#Methods|Find|method}}
 
{{#parentPage:PXV:IUniqueStrings#Methods|Find|method}}
{{ToReview}}
+
 
  
 
Finds item in the unique strings list.
 
Finds item in the unique strings list.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT Find([in]          BSTR  pItem,
+
<pre class="brush:cpp;gutter:false">HRESULT Find([in]          BSTR  sItem,
             [out, retval]  LONG*  pIndex);</pre>
+
             [out, retval]  LONG*  nIndex);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pItem
+
;sItem
 
:[in]  Item that needs to be found.
 
:[in]  Item that needs to be found.
;pIndex
+
;nIndex
 
:[out, retval]  Resulting index of the item in the unique strings list.
 
:[out, retval]  Resulting index of the item in the unique strings list.
  
 
== 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 ==
 
[[PXV:IUniqueStrings|IUniqueStrings]]
 
[[PXV:IUniqueStrings|IUniqueStrings]]

Latest revision as of 16:01, 16 June 2015


Finds item in the unique strings list.

Syntax

HRESULT Find([in]           BSTR   sItem,
             [out, retval]  LONG*  nIndex);

Parameters

sItem
[in] Item that needs to be found.
nIndex
[out, retval] Resulting index of the item in the unique strings list.

Return Value

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

See Also

IUniqueStrings