CStockPropImpl::put_Text

 

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

Syntax

      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

CStockPropImpl Class
CStockPropImpl::get_Text