IASControl::get_Caption

This method gets the caption associated with a particular control.

Syntax

HRESULT get_Caption( BSTR *pbstrCaption );

Parameters

pbstrCaption
Pointer to the 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::put_Caption