This topic has not yet been rated - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.