SuggestedActionCategoryToIconDefinition(ImageMoniker) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance with the specified ImageMoniker.
public:
SuggestedActionCategoryToIconDefinition(Microsoft::VisualStudio::Imaging::Interop::ImageMoniker imageMoniker);
public SuggestedActionCategoryToIconDefinition (Microsoft.VisualStudio.Imaging.Interop.ImageMoniker imageMoniker);
new Microsoft.VisualStudio.Language.Intellisense.SuggestedActionCategoryToIconDefinition : Microsoft.VisualStudio.Imaging.Interop.ImageMoniker -> Microsoft.VisualStudio.Language.Intellisense.SuggestedActionCategoryToIconDefinition
Public Sub New (imageMoniker As ImageMoniker)
Parameters
- imageMoniker
- ImageMoniker
The ImageMoniker of the icon to display.
Remarks
When a LightBulb session is created, the highest precedence category based upon MEF Ordering of the SuggestedActionCategoryDefinitions with applicable ISuggestedAction2s will have its icon displayed in the LightBulb control.