IUIX_Combo::GetItemText Method
From PDF XChange PDF SDK
(5 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IUIX_Combo::GetItemText Method}} | {{#customTitle:IUIX_Combo::GetItemText Method}} | ||
− | {{#parentPage:PXV:IUIX_Combo|GetItemText | + | {{#parentPage:PXV:IUIX_Combo#Methods|GetItemText|method}} |
− | + | ||
Gets ''item text'' by required item number. | Gets ''item text'' by required item number. | ||
Line 8: | Line 9: | ||
== Syntax == | == Syntax == | ||
<pre class="brush:cpp;gutter:false">HRESULT GetItemText([in] LONG nItem, | <pre class="brush:cpp;gutter:false">HRESULT GetItemText([in] LONG nItem, | ||
− | [out, retval] BSTR* | + | [out, retval] BSTR* sText);</pre> |
== Parameters == | == Parameters == | ||
;nItem | ;nItem | ||
:[in] number of a required item. | :[in] number of a required item. | ||
− | ; | + | ;sText |
:[out, retval] returned item text. | :[out, retval] returned item text. | ||
== 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:IUIX_Combo|IUIX_Combo]] |
Latest revision as of 13:11, 15 June 2015
Gets item text by required item number.
Syntax
HRESULT GetItemText([in] LONG nItem, [out, retval] BSTR* sText);
Parameters
- nItem
- [in] number of a required item.
- sText
- [out, retval] returned item text.
Return Value
Returns S_OK if the operation was successful, or will return an error code if it fails.