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)
Syntax
'Declaration
<GuidAttribute("ED77D5EC-B0DE-4721-BDC6-38DCBE589B4C")> _
<InterfaceTypeAttribute()> _
Public Interface IVsRegisterPriorityCommandTarget
[GuidAttribute("ED77D5EC-B0DE-4721-BDC6-38DCBE589B4C")]
[InterfaceTypeAttribute()]
public interface IVsRegisterPriorityCommandTarget
[GuidAttribute(L"ED77D5EC-B0DE-4721-BDC6-38DCBE589B4C")]
[InterfaceTypeAttribute()]
public interface class IVsRegisterPriorityCommandTarget
[<GuidAttribute("ED77D5EC-B0DE-4721-BDC6-38DCBE589B4C")>]
[<InterfaceTypeAttribute()>]
type IVsRegisterPriorityCommandTarget = interface end
public interface IVsRegisterPriorityCommandTarget
The IVsRegisterPriorityCommandTarget type exposes the following members.
Methods
Name | Description | |
---|---|---|
RegisterPriorityCommandTarget | Registers a new command target (IOleCommandTarget). | |
UnregisterPriorityCommandTarget | Unregisters the command target identified by a cookie. |
Top
Remarks
High priority command targets are queried for every command in Visual Studio, which can have a severe negative effect on performance.