IUniqueStrings::Find Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUniqueStrings::Find Method}}
 
{{#customTitle:IUniqueStrings::Find Method}}
{{#parentPage:PXV:IUniqueStrings|Find Method|method}}
+
{{#parentPage:PXV:IUniqueStrings#Methods|Find|method}}
{{ToWrite}}
+
{{ToReview}}
+
  
The method of interface of PDF-XChange Editor SDK.
+
 
 +
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]  Value of BSTR.
+
:[in]  Item that needs to be found.
;pIndex
+
;nIndex
:[out, retval]  Pointer to LONG.
+
:[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 ==
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