SVsRegisterPriorityCommandTarget Interface

Passed to GetService to return a reference to IVsRegisterPriorityCommandTarget.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

声明
<GuidAttribute("ED77D5EC-B0DE-4721-BDC6-38DCBE589B4C")> _
<GuidAttribute("ED77D5EC-B0DE-4721-BDC6-38DCBE589B4C")> _
<ComVisibleAttribute(False)> _
Public Interface SVsRegisterPriorityCommandTarget
用法
Dim instance As SVsRegisterPriorityCommandTarget
[GuidAttribute("ED77D5EC-B0DE-4721-BDC6-38DCBE589B4C")]
[GuidAttribute("ED77D5EC-B0DE-4721-BDC6-38DCBE589B4C")]
[ComVisibleAttribute(false)]
public interface SVsRegisterPriorityCommandTarget
[GuidAttribute(L"ED77D5EC-B0DE-4721-BDC6-38DCBE589B4C")]
[GuidAttribute(L"ED77D5EC-B0DE-4721-BDC6-38DCBE589B4C")]
[ComVisibleAttribute(false)]
public interface class SVsRegisterPriorityCommandTarget
[<GuidAttribute("ED77D5EC-B0DE-4721-BDC6-38DCBE589B4C")>]
[<GuidAttribute("ED77D5EC-B0DE-4721-BDC6-38DCBE589B4C")>]
[<ComVisibleAttribute(false)>]
type SVsRegisterPriorityCommandTarget =  interface end
public interface SVsRegisterPriorityCommandTarget

Remarks

SVsRegisterPriorityCommandTarget allows a package to request that it be given first priority in command routing. It is analogous to the mechanism that Add Ins use. But it should be used sparingly for performance reasons. It is a global mechanism that passes all commands through your filter.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace