Udostępnij za pośrednictwem


InfoBarButton(String, Object) Constructor

Definition

Creates a new button with optional formatting options.

 InfoBarButton(std::wstring const & text, winrt::Windows::Foundation::IInspectable const & actionContext = null);
public InfoBarButton (string text, object actionContext = default);
new Microsoft.VisualStudio.Shell.InfoBarButton : string * obj -> Microsoft.VisualStudio.Shell.InfoBarButton
Public 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