InfoBarButton(String, Object) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.