Export (0) Print
Expand All

IVsRegisterPriorityCommandTarget Interface

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.

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

public interface IVsRegisterPriorityCommandTarget

The IVsRegisterPriorityCommandTarget type exposes the following members.

Public methodRegisterPriorityCommandTargetRegisters a new command target (IOleCommandTarget).
Public methodUnregisterPriorityCommandTargetUnregisters 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.

© 2015 Microsoft