Share via


CStockPropImpl::put_Text

Call this method to set the text that is displayed with the control.

HRESULT STDMETHODCALLTYPE put_Text( 
   BSTR bstrText 
);

Parameters

  • bstrText
    The text that is displayed with the control.

Return Value

Returns S_OK on success, or an error HRESULT on failure.

Requirements

Header: atlctl.h

See Also

Reference

CStockPropImpl Class

CStockPropImpl::get_Text