InfoBarActionItem(String, Object) 构造函数

定义

使用可选的格式设置选项创建一个新的操作项。

 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)

参数

text
String

范围的文本。

actionContext
Object

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

适用于