InfoBarModel 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建一个实现 IVsInfoBar 的数据模型,以便与 CreateInfoBar 一起使用。
public ref class InfoBarModel : Microsoft::VisualStudio::Shell::Interop::IVsInfoBar
[Windows::Foundation::Metadata::WebHostHidden]
class InfoBarModel : Microsoft::VisualStudio::Shell::Interop::IVsInfoBar
public class InfoBarModel : Microsoft.VisualStudio.Shell.Interop.IVsInfoBar
type InfoBarModel = class
interface IVsInfoBar
Public Class InfoBarModel
Implements IVsInfoBar
- 继承
-
InfoBarModel
- 实现
构造函数
| InfoBarModel(IEnumerable<IVsInfoBarTextSpan>, IEnumerable<IVsInfoBarActionItem>, ImageMoniker, Boolean) |
初始化 InfoBarModel 的新实例。 |
| InfoBarModel(IEnumerable<IVsInfoBarTextSpan>, ImageMoniker, Boolean) |
初始化 InfoBarModel 的新实例。 |
| InfoBarModel(String, IEnumerable<IVsInfoBarActionItem>, ImageMoniker, Boolean) |
初始化 InfoBarModel 的新实例。 |
| InfoBarModel(String, ImageMoniker, Boolean) |
初始化 InfoBarModel 的新实例。 |
属性
| ActionItems |
获取要显示的按钮或链接的集合。 |
| Image |
获取要显示在信息栏中的图像的名字对象。 |
| IsCloseButtonVisible |
确定用户是否可以关闭信息栏。 |
| TextSpans |
获取要显示在信息栏中的消息。 |