CommandShortcutConfiguration Class
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.
An attribute used on Command classes to specify the command shortcut.
[System.Runtime.Serialization.DataContract]
public sealed class CommandShortcutConfiguration : IEquatable<Microsoft.VisualStudio.Extensibility.Commands.CommandShortcutConfiguration>
[<System.Runtime.Serialization.DataContract>]
type CommandShortcutConfiguration = class
interface IEquatable<CommandShortcutConfiguration>
Public NotInheritable Class CommandShortcutConfiguration
Implements IEquatable(Of CommandShortcutConfiguration)
- Inheritance
-
CommandShortcutConfiguration
- Attributes
- Implements
Constructors
CommandShortcutConfiguration(ModifierKey, Key, Guid) |
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, ModifierKey, Key) |
Initializes a new instance of the CommandShortcutConfiguration class. |
CommandShortcutConfiguration(ModifierKey, Key) |
Initializes a new instance of the CommandShortcutConfiguration class. |
Properties
ActivationConstraint |
Gets the optional UI Context GUID used to scope the shortcut. |
Key1 |
Gets the first key for this shortcut. |
Key2 |
Gets the optional second key for this shortcut. |
Mod1 |
Gets the first modifier key for this shortcut. |
Mod2 |
Gets the optional second modifier key for this shortcut. |
Methods
Equals(CommandShortcutConfiguration) | Indicates whether the current object is equal to another object of the same type. |
Equals(Object) | |
GetHashCode() | Serves as the default hash function. |