DynamicStatusMenuCommand 类

定义

重要

此 API 不符合 CLS。

VsMenuCommand 的别名。 Intendend 是为了减少 Lab22dev 到 Lab23 集成期间的合并冲突,并在完成集成时必须删除 Lab23 中的合并冲突。

public ref class DynamicStatusMenuCommand : Microsoft::VisualStudio::Shell::OleMenuCommand
[System.CLSCompliant(false)]
public class DynamicStatusMenuCommand : Microsoft.VisualStudio.Shell.OleMenuCommand
[<System.CLSCompliant(false)>]
type DynamicStatusMenuCommand = class
    inherit OleMenuCommand
Public Class DynamicStatusMenuCommand
Inherits OleMenuCommand
继承
DynamicStatusMenuCommand
属性

构造函数

DynamicStatusMenuCommand(EventHandler, EventHandler, CommandID)

构造新的 DynamicStatusMenuCommand

属性

AutomationName (继承自 OleMenuCommand)
MatchedCommandId

获取或设置命令 ID。

(继承自 OleMenuCommand)
OleStatus

获取此菜单项的 OLE 命令状态代码。

(继承自 OleMenuCommand)
ParametersDescription

获取或设置命令的参数说明。

(继承自 OleMenuCommand)
Text

获取或设置命令的文本。

(继承自 OleMenuCommand)

方法

DynamicItemMatch(Int32)

允许动态项命令与列表中的后续项匹配。

(继承自 OleMenuCommand)
Invoke(Object)

执行命令。

(继承自 OleMenuCommand)
Invoke(Object, IntPtr)

执行命令。

(继承自 OleMenuCommand)
Invoke(Object, IntPtr, OLECMDEXECOPT)

用指定的参数和执行选项执行命令。

(继承自 OleMenuCommand)

事件

BeforeQueryStatus

当客户端请求命令的状态时调用。

(继承自 OleMenuCommand)

适用于