IUIX_CmdCollection::Find Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_CmdCollection::Find Method}}
 
{{#customTitle:IUIX_CmdCollection::Find Method}}
{{#parentPage:PXV:IUIX_CmdCollection|method}}
+
{{#parentPage:PXV:IUIX_CmdCollection#Methods|Find|method}}
{{ToWrite}}
+
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Finds command in the command collection by given command ID.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT Find([in] BSTR pID, [out, retval] IUIX_Cmd** ppCmd);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT Find([in]           BSTR       sID,
 +
            [out, retval] IUIX_Cmd** pCmd);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pID''
+
;sID
:[in]  Value of BSTR.
+
:[in]  Value of BSTR containing the ID of the command that needs to be found.
;''ppCmd''
+
;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 ==
Line 20: Line 21:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IUIX_CmdCollection|IUIX_CmdCollection]].
+
[[PXV:IUIX_CmdCollection|IUIX_CmdCollection]]

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.

See Also

IUIX_CmdCollection