CommandContextChangedEventArgs(UInt32, Boolean) 构造函数

定义

构造函数。

public:
 CommandContextChangedEventArgs(System::UInt32 cookie, bool active);
public CommandContextChangedEventArgs (uint cookie, bool active);
new Microsoft.VisualStudio.Modeling.Shell.CommandContextChangedEventArgs : uint32 * bool -> Microsoft.VisualStudio.Modeling.Shell.CommandContextChangedEventArgs
Public Sub New (cookie As UInteger, active As Boolean)

参数

cookie
UInt32

对应于正在更改的命令上下文的 Cookie。

active
Boolean

如果正在激活命令上下文,则为 True; 否则为 false。

适用于