Udostępnij za pośrednictwem


CommandIconConfiguration(ImageMoniker, IconSettings) Constructor

Definition

Initializes a new instance of the CommandIconConfiguration class.

[Newtonsoft.Json.JsonConstructor]
public CommandIconConfiguration (Microsoft.VisualStudio.Extensibility.ImageMoniker iconName, Microsoft.VisualStudio.Extensibility.Commands.IconSettings iconSettings);
[<Newtonsoft.Json.JsonConstructor>]
new Microsoft.VisualStudio.Extensibility.Commands.CommandIconConfiguration : Microsoft.VisualStudio.Extensibility.ImageMoniker * Microsoft.VisualStudio.Extensibility.Commands.IconSettings -> Microsoft.VisualStudio.Extensibility.Commands.CommandIconConfiguration
Public Sub New (iconName As ImageMoniker, iconSettings As IconSettings)

Parameters

iconName
ImageMoniker

The ImageMoniker to be used as the icon for a command.

iconSettings
IconSettings

The settings for how to display the icon.

Attributes
Newtonsoft.Json.JsonConstructorAttribute

Applies to