共用方式為


IVsInfoBarUIEvents.OnClosed(IVsInfoBarUIElement) Method

Definition

Handles the event raised when the close button on an info bar is clicked.

public:
 void OnClosed(Microsoft::VisualStudio::Shell::Interop::IVsInfoBarUIElement ^ infoBarUIElement);
public:
 void OnClosed(Microsoft::VisualStudio::Shell::Interop::IVsInfoBarUIElement ^ infoBarUIElement);
void OnClosed(Microsoft::VisualStudio::Shell::Interop::IVsInfoBarUIElement const & infoBarUIElement);
public void OnClosed (Microsoft.VisualStudio.Shell.Interop.IVsInfoBarUIElement infoBarUIElement);
abstract member OnClosed : Microsoft.VisualStudio.Shell.Interop.IVsInfoBarUIElement -> unit
Public Sub OnClosed (infoBarUIElement As IVsInfoBarUIElement)

Parameters

infoBarUIElement
IVsInfoBarUIElement

The info bar.

Applies to