共用方式為


IVsInfoBarUIEvents.OnActionItemClicked Method

Definition

Handles the event raised when an action item on an info bar is clicked.

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

Parameters

infoBarUIElement
IVsInfoBarUIElement

The info bar.

actionItem
IVsInfoBarActionItem

The action item.

Applies to