CommandContextChangedEventArgs(UInt32, Boolean) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
构造函数。
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。