IUIX_CmdCollection::Find Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IUIX_CmdCollection::Find Method}} | {{#customTitle:IUIX_CmdCollection::Find Method}} | ||
− | {{#parentPage:PXV:IUIX_CmdCollection#Methods|Find | + | {{#parentPage:PXV:IUIX_CmdCollection#Methods|Find|method}} |
− | + | ||
{{ToReview}} | {{ToReview}} | ||
− | + | Finds command in the command collection by given command ID. | |
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT Find([in] BSTR | + | <pre class="brush:cpp;gutter:false">HRESULT Find([in] BSTR sID, |
− | [out, retval] IUIX_Cmd** | + | [out, retval] IUIX_Cmd** pCmd);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;sID |
− | :[in] Value of BSTR. | + | :[in] Value of BSTR containing the ID of the command that needs to be found. |
− | ; | + | ;pCmd |
− | :[out, retval] Pointer to [[PXV:IUIX_Cmd|IUIX_Cmd]]. | + | :[out, retval] Pointer to [[PXV:IUIX_Cmd|IUIX_Cmd]] containing the resulting command. |
== Return Value == | == Return Value == |
Latest revision as of 04:25, 4 April 2016
Finds command in the command collection by given command ID.
Syntax
HRESULT Find([in] BSTR sID, [out, retval] IUIX_Cmd** pCmd);
Parameters
- sID
- [in] Value of BSTR containing the ID of the command that needs to be found.
- pCmd
- [out, retval] Pointer to IUIX_Cmd containing the resulting command.
Return Value
Returns S_OK if operation was successful or error code in other cases.