IVsRegisterPriorityCommandTarget 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
用于注册命令目标并将其注销 (IOleCommandTarget 作为高优先级命令处理程序) 的实例。 可以从 SVsRegisterPriorityCommandTarget (SID_SVsRegisterPriorityCommandTarget) 服务获取此接口的实例。
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(1)>]
type IVsRegisterPriorityCommandTarget = interface
Public Interface IVsRegisterPriorityCommandTarget
- 属性
注解
为 Visual Studio 中的每个命令查询高优先级命令目标,这可能会对性能产生严重的负面影响。
方法
| RegisterPriorityCommandTarget(UInt32, IOleCommandTarget, UInt32) |
将新的命令目标注册 (IOleCommandTarget) 。 |
| UnregisterPriorityCommandTarget(UInt32) |
取消注册由 cookie 标识的命令目标。 |