Condividi tramite


CStockPropImpl::get_Caption

Call this method to get the text specified in an object's caption.

HRESULT STDMETHODCALLTYPE get_Caption( 
   BSTR * pbstrCaption 
);

Parameters

  • pbstrCaption
    The text to be 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::put_Caption