InfoBarModel Constructor (String^, IEnumerable<IVsInfoBarActionItem^>^, ImageMoniker, Boolean)
Visual Studio 2015
Initializes a new instance of InfoBarModel.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
public: InfoBarModel( String^ text, IEnumerable<IVsInfoBarActionItem^>^ actionItems, ImageMoniker image = null, bool isCloseButtonVisible = true )
Parameters
- text
-
Type:
System::String^
The message to display.
- actionItems
-
Type:
System.Collections.Generic::IEnumerable<IVsInfoBarActionItem^>^
The buttons or links to display on the panel, separate from the message.
- image
-
Type:
Microsoft.VisualStudio.Imaging.Interop::ImageMoniker
The image to display next to the message.
- isCloseButtonVisible
-
Type:
System::Boolean
True if the info bar can be closed by the user, otherwise false.
Show: