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)
[GuidAttribute("ED77D5EC-B0DE-4721-BDC6-38DCBE589B4C")]
[InterfaceTypeAttribute()]
public interface IVsRegisterPriorityCommandTarget

The IVsRegisterPriorityCommandTarget type exposes the following members.

  NameDescription
Public methodRegisterPriorityCommandTargetRegisters a new command target (IOleCommandTarget).
Public methodUnregisterPriorityCommandTargetUnregisters the command target identified by a cookie.
Top

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
Show:
© 2014 Microsoft. All rights reserved.