InfoBarModel Constructor (IEnumerable<IVsInfoBarTextSpan^>^, 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( IEnumerable<IVsInfoBarTextSpan^>^ textSpans, ImageMoniker image = null, bool isCloseButtonVisible = true )
Parameters
- textSpans
-
Type:
System.Collections.Generic::IEnumerable<IVsInfoBarTextSpan^>^
The message to display.
- 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: