Udostępnij za pośrednictwem


InfoBarActionItem(String, Object) Constructor

Definition

Creates a new action item with optional formatting options.

 InfoBarActionItem(std::wstring const & text, winrt::Windows::Foundation::IInspectable const & actionContext = null);
protected InfoBarActionItem (string text, object actionContext = default);
new Microsoft.VisualStudio.Shell.InfoBarActionItem : string * obj -> Microsoft.VisualStudio.Shell.InfoBarActionItem
Protected Sub New (text As String, Optional actionContext As Object = Nothing)

Parameters

text
String

The text for the span.

actionContext
Object

An optional tag which identifies this action item.

Applies to