Commands2 Interface

 

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

Namespace:   EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

[GuidAttribute("7EAA857B-2356-494B-9E13-0F6EEFA86E43")]
public interface Commands2 : Commands

NameDescription
System_CAPS_pubpropertyCount

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

System_CAPS_pubpropertyDTE

Gets the top-level extensibility object.

System_CAPS_pubpropertyParent

Gets the immediate parent object of a Commands collection.

NameDescription
System_CAPS_pubmethodAdd(String, Int32, Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft internal use only.

System_CAPS_pubmethodAddCommandBar(String, vsCommandBarType, Object, Int32)

Creates a command bar that is saved and available the next time the environment is started.

System_CAPS_pubmethodAddNamedCommand(AddIn, String, String, String, Boolean, Int32, Object[], Int32)

Creates a named command that is saved by the environment and made available the next time the environment starts.

System_CAPS_pubmethodAddNamedCommand2(AddIn, String, String, String, Boolean, Object, Object[], Int32, Int32, vsCommandControlType)

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.

System_CAPS_pubmethodCommandInfo(Object, String, Int32)

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

System_CAPS_pubmethodGetEnumerator()

Gets an enumerator for items in the Commands collection.

System_CAPS_pubmethodItem(Object, Int32)

Returns an indexed member of a collection.

System_CAPS_pubmethodRaise(String, Int32, Object, Object)

Executes the specified command.

System_CAPS_pubmethodRemoveCommandBar(Object)

Removes a command bar that was created with the AddCommandBar method.

System_CAPS_pubmethodUpdateCommandUI(Boolean)

Forces a refresh of the command UI state.

Return to top
Show: