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(1)]
public interface IVsRegisterPriorityCommandTarget

NameDescription
System_CAPS_pubmethodRegisterPriorityCommandTarget(UInt32, IOleCommandTarget, UInt32)

Registers a new command target (IOleCommandTarget).

System_CAPS_pubmethodUnregisterPriorityCommandTarget(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.

Return to top
Show: