Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Contains all commands, in the form of Command objects, in the environment.
Namespace: EnvDTE80
Assembly: EnvDTE80 (in EnvDTE80.dll)
Syntax
'Declaration
<GuidAttribute("7EAA857B-2356-494B-9E13-0F6EEFA86E43")> _
Public Interface Commands2 _
Inherits Commands
[GuidAttribute("7EAA857B-2356-494B-9E13-0F6EEFA86E43")]
public interface Commands2 : Commands
[GuidAttribute(L"7EAA857B-2356-494B-9E13-0F6EEFA86E43")]
public interface class Commands2 : Commands
[<GuidAttribute("7EAA857B-2356-494B-9E13-0F6EEFA86E43")>]
type Commands2 =
interface
interface Commands
end
public interface Commands2 extends Commands
The Commands2 type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
Count | Gets a value indicating the number of objects in the Commands collection. |
![]() |
DTE | Gets the top-level extensibility object. |
![]() |
Parent | Gets the immediate parent object of a Commands collection. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Add | Infrastructure. Microsoft internal use only. |
![]() |
AddCommandBar | Creates a command bar that is saved and available the next time the environment is started. |
![]() |
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. |
![]() |
AddNamedCommand2 | 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. |
![]() |
CommandInfo | Returns the command GUID and ID associated with the given CommandBar control. |
![]() |
GetEnumerator | Gets an enumerator for items in the Commands collection. |
![]() |
Item | Returns an indexed member of a collection. |
![]() |
Raise | Executes the specified command. |
![]() |
RemoveCommandBar | Removes a command bar that was created with the AddCommandBar method. |
![]() |
UpdateCommandUI | Forces a refresh of the command UI state. |
Top