共用方式為


SVsRegisterPriorityCommandTarget Interface

Definition

Passed to GetService(Type) to return a reference to IVsRegisterPriorityCommandTarget.

public interface class SVsRegisterPriorityCommandTarget
public interface class SVsRegisterPriorityCommandTarget
__interface SVsRegisterPriorityCommandTarget
[System.Runtime.InteropServices.ComVisible(false)]
[System.Runtime.InteropServices.Guid("ED77D5EC-B0DE-4721-BDC6-38DCBE589B4C")]
public interface SVsRegisterPriorityCommandTarget
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Runtime.InteropServices.Guid("ED77D5EC-B0DE-4721-BDC6-38DCBE589B4C")>]
type SVsRegisterPriorityCommandTarget = interface
Public Interface SVsRegisterPriorityCommandTarget
Attributes

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.

Applies to