IUIX_Combo::SetItemText Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
{{#customTitle:IUIX_Combo::SetItemText Method}} | {{#customTitle:IUIX_Combo::SetItemText Method}} | ||
{{#parentPage:PXV:IUIX_Combo#Methods|SetItemText|method}} | {{#parentPage:PXV:IUIX_Combo#Methods|SetItemText|method}} | ||
− | + | ||
Sets ''text'' for a required item. | Sets ''text'' for a required item. | ||
Line 9: | Line 9: | ||
== Syntax == | == Syntax == | ||
<pre class="brush:cpp;gutter:false">HRESULT SetItemText([in] LONG nItem, | <pre class="brush:cpp;gutter:false">HRESULT SetItemText([in] LONG nItem, | ||
− | [in] BSTR | + | [in] BSTR sText);</pre> |
== Parameters == | == Parameters == | ||
;nItem | ;nItem | ||
:[in] number of a required item. | :[in] number of a required item. | ||
− | ; | + | ;sText |
:[in] text to set for an item. | :[in] text to set for an item. | ||
== 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]] | [[PXV:IUIX_Combo|IUIX_Combo]] |
Latest revision as of 13:30, 15 June 2015
Sets text for a required item.
Syntax
HRESULT SetItemText([in] LONG nItem, [in] BSTR sText);
Parameters
- nItem
- [in] number of a required item.
- sText
- [in] text to set for an item.
Return Value
Returns S_OK if the operation was successful, or will return an error code if it fails.