IUniqueStrings::Find Method
From PDF XChange PDF SDK
(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}} | ||
− | + | ||
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 | + | <pre class="brush:cpp;gutter:false">HRESULT Find([in] BSTR sItem, |
− | [out, retval] LONG* | + | [out, retval] LONG* nIndex);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;sItem |
:[in] Item that needs to be found. | :[in] Item that needs to be found. | ||
− | ; | + | ;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 | + | 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 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.