InfoBarButton(String, Object) 构造函数

定义

创建具有可选格式设置选项的新按钮。

 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)

参数

text
String

范围的文本。

actionContext
Object

标识此操作项的可选标记。

适用于