Commands Members

Include Protected Members
Include Inherited Members

Contains all of the commands, in the form of Command objects, in the environment.

The Commands type exposes the following members.

Methods

 

Name

Description

Public method

Add

Infrastructure.

Public method

AddCommandBar

Public method

AddNamedCommand

Creates a named command that is saved by the environment and made available the next time the environment starts, even if the Add-in is not loaded on environment startup.

Public method

CommandInfo

Returns the command GUID and ID associated with the given Microsoft.VisualStudio.CommandBars.CommandBar control.

Public method

GetEnumerator

Overloaded.

Public method

Item

Returns a Command object in a Commands collection.

Public method

Raise

Executes the specified command.

Public method

RemoveCommandBar

Top

Properties

 

Name

Description

Public property

Count

Gets a value indicating the number of objects in the Commands collection.

Public property

DTE

Gets the top-level extensibility object.

Public property

Parent

Gets the immediate parent object of a Commands collection.

Top

See Also

Reference

Commands Interface

EnvDTE Namespace