Share via


CommandShortcutConfiguration Constructors

Definition

Overloads

CommandShortcutConfiguration(ModifierKey, Key)

Initializes a new instance of the CommandShortcutConfiguration class.

CommandShortcutConfiguration(ModifierKey, Key, Guid)

Initializes a new instance of the CommandShortcutConfiguration class.

CommandShortcutConfiguration(ModifierKey, Key, ModifierKey, Key)

Initializes a new instance of the CommandShortcutConfiguration class.

CommandShortcutConfiguration(ModifierKey, Key, ModifierKey, Key, Guid)

Initializes a new instance of the CommandShortcutConfiguration class.

CommandShortcutConfiguration(ModifierKey, Key)

Initializes a new instance of the CommandShortcutConfiguration class.

public CommandShortcutConfiguration (Microsoft.VisualStudio.Extensibility.Commands.ModifierKey mod1, Microsoft.VisualStudio.Extensibility.Commands.Key key1);
new Microsoft.VisualStudio.Extensibility.Commands.CommandShortcutConfiguration : Microsoft.VisualStudio.Extensibility.Commands.ModifierKey * Microsoft.VisualStudio.Extensibility.Commands.Key -> Microsoft.VisualStudio.Extensibility.Commands.CommandShortcutConfiguration
Public Sub New (mod1 As ModifierKey, key1 As Key)

Parameters

mod1
ModifierKey

First modifier key.

key1
Key

First key.

Applies to

CommandShortcutConfiguration(ModifierKey, Key, Guid)

Initializes a new instance of the CommandShortcutConfiguration class.

public CommandShortcutConfiguration (Microsoft.VisualStudio.Extensibility.Commands.ModifierKey mod1, Microsoft.VisualStudio.Extensibility.Commands.Key key1, Guid activationConstraint);
new Microsoft.VisualStudio.Extensibility.Commands.CommandShortcutConfiguration : Microsoft.VisualStudio.Extensibility.Commands.ModifierKey * Microsoft.VisualStudio.Extensibility.Commands.Key * Guid -> Microsoft.VisualStudio.Extensibility.Commands.CommandShortcutConfiguration
Public Sub New (mod1 As ModifierKey, key1 As Key, activationConstraint As Guid)

Parameters

mod1
ModifierKey

First modifier key.

key1
Key

First key.

activationConstraint
Guid

Optional UI context for the shortcut.

Applies to

CommandShortcutConfiguration(ModifierKey, Key, ModifierKey, Key)

Initializes a new instance of the CommandShortcutConfiguration class.

public CommandShortcutConfiguration (Microsoft.VisualStudio.Extensibility.Commands.ModifierKey mod1, Microsoft.VisualStudio.Extensibility.Commands.Key key1, Microsoft.VisualStudio.Extensibility.Commands.ModifierKey mod2, Microsoft.VisualStudio.Extensibility.Commands.Key key2);
new Microsoft.VisualStudio.Extensibility.Commands.CommandShortcutConfiguration : Microsoft.VisualStudio.Extensibility.Commands.ModifierKey * Microsoft.VisualStudio.Extensibility.Commands.Key * Microsoft.VisualStudio.Extensibility.Commands.ModifierKey * Microsoft.VisualStudio.Extensibility.Commands.Key -> Microsoft.VisualStudio.Extensibility.Commands.CommandShortcutConfiguration
Public Sub New (mod1 As ModifierKey, key1 As Key, mod2 As ModifierKey, key2 As Key)

Parameters

mod1
ModifierKey

First modifier key.

key1
Key

First key.

mod2
ModifierKey

Second modifier key.

key2
Key

Second key.

Applies to

CommandShortcutConfiguration(ModifierKey, Key, ModifierKey, Key, Guid)

Initializes a new instance of the CommandShortcutConfiguration class.

public CommandShortcutConfiguration (Microsoft.VisualStudio.Extensibility.Commands.ModifierKey mod1, Microsoft.VisualStudio.Extensibility.Commands.Key key1, Microsoft.VisualStudio.Extensibility.Commands.ModifierKey mod2, Microsoft.VisualStudio.Extensibility.Commands.Key key2, Guid activationConstraint);
new Microsoft.VisualStudio.Extensibility.Commands.CommandShortcutConfiguration : Microsoft.VisualStudio.Extensibility.Commands.ModifierKey * Microsoft.VisualStudio.Extensibility.Commands.Key * Microsoft.VisualStudio.Extensibility.Commands.ModifierKey * Microsoft.VisualStudio.Extensibility.Commands.Key * Guid -> Microsoft.VisualStudio.Extensibility.Commands.CommandShortcutConfiguration
Public Sub New (mod1 As ModifierKey, key1 As Key, mod2 As ModifierKey, key2 As Key, activationConstraint As Guid)

Parameters

mod1
ModifierKey

First modifier key.

key1
Key

First key.

mod2
ModifierKey

Second modifier key.

key2
Key

Second key.

activationConstraint
Guid

Optional UI context for the shortcut.

Applies to