Compartir a través de


CommandConfiguration Class

Definition

Configuration of a VisualStudio.Extensibility Command.

public sealed class CommandConfiguration : Microsoft.VisualStudio.Extensibility.Commands.BaseCommandConfiguration, IEquatable<Microsoft.VisualStudio.Extensibility.Commands.CommandConfiguration>
type CommandConfiguration = class
    inherit BaseCommandConfiguration
    interface IEquatable<CommandConfiguration>
Public NotInheritable Class CommandConfiguration
Inherits BaseCommandConfiguration
Implements IEquatable(Of CommandConfiguration)
Inheritance
Implements

Constructors

CommandConfiguration(String)

Initializes a new instance of the CommandConfiguration class.

Properties

ClientContexts

Gets or sets the client context categories requested by the command.

(Inherited from BaseCommandConfiguration)
DisplayName

Gets the initial command display name.

(Inherited from BaseControlConfiguration)
EnabledWhen

Gets or sets the configuration for when the command is enabled.

Flags

Gets or sets the flags associated with the command.

Icon

Gets or sets the command icon configuration.

Placements

Gets or sets where the command should be placed in the IDE.

(Inherited from BaseControlConfiguration)
Shortcuts

Gets or sets the command shortcut configuration.

TooltipText

Gets or sets the initial command tooltip text. If left null defaults to displayName only when the command is a button or toolbar button.

VisibleWhen

Gets or sets the configuration for when the command is visible.

VsctCommandMapping

Gets or sets the Guid/Id pair of a VSCT defined command that this command is replacing.

Methods

Equals(BaseCommandConfiguration) (Inherited from BaseCommandConfiguration)
Equals(BaseControlConfiguration) (Inherited from BaseControlConfiguration)
Equals(CommandConfiguration)

Indicates whether the current object is equal to another object of the same type.

Equals(Object)
GetHashCode()

Serves as the default hash function.

Applies to