IASControl::put_Caption

This method sets the caption associated with a particular control.

Syntax

HRESULT put_Caption( BSTR bstrCaption );

Parameters

bstrCaption
Unicode string to be displayed as the caption.

Return Values

NOERROR indicates success. If an error occurs, the appropriate HRESULT value is returned.

Remarks

This method must be implemented, but can return E_NOTIMPL.

See Also

IASControl::get_Caption