Condividi tramite


IVsRegisterPriorityCommandTarget Interface

Definition

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.

public interface class IVsRegisterPriorityCommandTarget
public interface class IVsRegisterPriorityCommandTarget
__interface IVsRegisterPriorityCommandTarget
[System.Runtime.InteropServices.Guid("ED77D5EC-B0DE-4721-BDC6-38DCBE589B4C")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsRegisterPriorityCommandTarget
[System.Runtime.InteropServices.Guid("ED77D5EC-B0DE-4721-BDC6-38DCBE589B4C")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsRegisterPriorityCommandTarget
[<System.Runtime.InteropServices.Guid("ED77D5EC-B0DE-4721-BDC6-38DCBE589B4C")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsRegisterPriorityCommandTarget = interface
[<System.Runtime.InteropServices.Guid("ED77D5EC-B0DE-4721-BDC6-38DCBE589B4C")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsRegisterPriorityCommandTarget = interface
Public Interface IVsRegisterPriorityCommandTarget
Attributes

Remarks

High priority command targets are queried for every command in Visual Studio, which can have a severe negative effect on performance.

Methods

RegisterPriorityCommandTarget(UInt32, IOleCommandTarget, UInt32)

Registers a new command target (IOleCommandTarget).

UnregisterPriorityCommandTarget(UInt32)

Unregisters the command target identified by a cookie.

Applies to