IPXV_AttachList::Find Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IPXV_AttachList::Find Method}} | {{#customTitle:IPXV_AttachList::Find Method}} | ||
− | {{#parentPage:PXV:IPXV_AttachList|Find | + | {{#parentPage:PXV:IPXV_AttachList#Methods|Find|method}} |
− | + | ||
Finds item in the attachments list. | Finds item in the attachments list. | ||
Line 9: | Line 8: | ||
== Syntax == | == Syntax == | ||
<pre class="brush:cpp;gutter:false">HRESULT Find([in] IPXC_FileSpec* pItem, | <pre class="brush:cpp;gutter:false">HRESULT Find([in] IPXC_FileSpec* pItem, | ||
− | [out, retval] LONG* | + | [out, retval] LONG* nIndex);</pre> |
== Parameters == | == Parameters == | ||
;pItem | ;pItem | ||
:[in] Pointer to [[PXV:IPXC_FileSpec|IPXC_FileSpec]] containing the item to search for in the attachments list. | :[in] Pointer to [[PXV:IPXC_FileSpec|IPXC_FileSpec]] containing the item to search for in the attachments list. | ||
− | ; | + | ;nIndex |
:[out, retval] Returned index of the item in the attachments list. | :[out, retval] Returned index of the item in the attachments 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:IPXV_AttachList|IPXV_AttachList]] | + | [[PXV:IPXV_AttachList|IPXV_AttachList]] |
Latest revision as of 02:47, 15 June 2015
Finds item in the attachments list.
Syntax
HRESULT Find([in] IPXC_FileSpec* pItem, [out, retval] LONG* nIndex);
Parameters
- pItem
- [in] Pointer to IPXC_FileSpec containing the item to search for in the attachments list.
- nIndex
- [out, retval] Returned index of the item in the attachments list.
Return Value
Returns S_OK if the operation was successful, or will return an error code if it fails.