We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

IOleCommandTarget Interface

Enables the dispatching of commands between objects and containers. For more information, see IOleCommandTarget

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

public interface IOleCommandTarget

The IOleCommandTarget type exposes the following members.

Public methodExecExecutes the specified command.
Public methodQueryStatusQueries the object for the status of one or more commands generated by user interface events.