次の方法で共有


IVsInfoBarActionItem Interface

Definition

Represents a clickable action span inside an IVsInfoBar, rendered by default as a hyperlink. Action items can have contextual data associated with them, and have a click callback on the IVsInfoBarUIEvents interface.

public interface class IVsInfoBarActionItem : Microsoft::VisualStudio::Shell::Interop::IVsInfoBarTextSpan
public interface class IVsInfoBarActionItem : Microsoft::VisualStudio::Shell::Interop::IVsInfoBarTextSpan
__interface IVsInfoBarActionItem : Microsoft::VisualStudio::Shell::Interop::IVsInfoBarTextSpan
public interface IVsInfoBarActionItem : Microsoft.VisualStudio.Shell.Interop.IVsInfoBarTextSpan
[System.Runtime.InteropServices.Guid("25482DB2-7BBA-49DF-841B-55A01D067679")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsInfoBarActionItem : Microsoft.VisualStudio.Shell.Interop.IVsInfoBarTextSpan
type IVsInfoBarActionItem = interface
    interface IVsInfoBarTextSpan
[<System.Runtime.InteropServices.Guid("25482DB2-7BBA-49DF-841B-55A01D067679")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsInfoBarActionItem = interface
    interface IVsInfoBarTextSpan
Public Interface IVsInfoBarActionItem
Implements IVsInfoBarTextSpan
Derived
Attributes
Implements

Properties

ActionContext

Gets the user-provided context associated with the hyperlink. This contextual data can be used to identify the hyperlink when it's clicked.

Bold

Determines whether the text is bold.

IsButton

Determines whether this action item should be rendered as a button. By default, action items are rendered as a hyperlink.

Italic

Determines whether the text is italic.

Text
Underline

Determines whether the text is underlined.

Applies to