Partager via


SuggestedActionCategoryToIconDefinition(ImageMoniker) Constructor

Definition

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.

Applies to