Share via


Command Members

Include Protected Members
Include Inherited Members

Represents a command in the environment.

The Command type exposes the following members.

Methods

 

Name

Description

Public method

AddControl

Creates a persistent command bar control for the command.

Public method

Delete

Removes a named command that was created with the AddNamedCommand method.

Top

Properties

 

Name

Description

Public property

Bindings

Sets or gets the list of keystrokes used to invoke the command.

Public property

Collection

Gets the Commands collection containing the Command object.

Public property

DTE

Gets the top-level extensibility object.

Public property

Guid

Gets the GUID for the given object.

Public property

ID

Gets the ID within a command group GUID used to represent the command.

Public property

IsAvailable

Gets a value indicating whether or not the Command is currently enabled.

Public property

LocalizedName

Gets the localized name of the command.

Public property

Name

Gets the name of the object.

Top

See Also

Reference

Command Interface

EnvDTE Namespace