IUniqueStrings::Find Method
From PDF XChange PDF SDK
(Automatic page editing by robot) |
|||
(10 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#Methods|Find|method}} | ||
− | + | ||
+ | Finds item in the unique strings list. | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT Find([in] BSTR | + | <pre class="brush:cpp;gutter:false">HRESULT Find([in] BSTR sItem, |
+ | [out, retval] LONG* nIndex);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;sItem |
− | :[in] | + | :[in] Item that needs to be found. |
− | ; | + | ;nIndex |
− | :[out, retval] | + | :[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 | + | Returns S_OK if the operation was successful, or will return an error code if it fails. |
== See Also == | == See Also == | ||
− | + | [[PXV:IUniqueStrings|IUniqueStrings]] |
Latest revision as of 15: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.