IVsRegisterPriorityCommandTarget Interface
Visual Studio 2015
Used to register and unregister a command target (an instance of IOleCommandTarget) as a high priority command handler. You can get an instance of this interface from the SVsRegisterPriorityCommandTarget (SID_SVsRegisterPriorityCommandTarget) service.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
| Name | Description | |
|---|---|---|
![]() | RegisterPriorityCommandTarget(UInt32, IOleCommandTarget, UInt32) | Registers a new command target (IOleCommandTarget). |
![]() | UnregisterPriorityCommandTarget(UInt32) | Unregisters the command target identified by a cookie. |
High priority command targets are queried for every command in Visual Studio, which can have a severe negative effect on performance.
Show:
