IMonitorSelectionService.IsCommandContextActive 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| IsCommandContextActive(Guid) |
如果给定的命令上下文当前处于活动状态,则返回 true |
| IsCommandContextActive(UInt32) |
如果对应于给定 cookie 的命令上下文当前处于活动状态,则返回 true |
IsCommandContextActive(Guid)
如果给定的命令上下文当前处于活动状态,则返回 true
public:
bool IsCommandContextActive(Guid commandContext);
public bool IsCommandContextActive (Guid commandContext);
abstract member IsCommandContextActive : Guid -> bool
Public Function IsCommandContextActive (commandContext As Guid) As Boolean
参数
- commandContext
- Guid
要测试的命令上下文
返回
适用于
IsCommandContextActive(UInt32)
如果对应于给定 cookie 的命令上下文当前处于活动状态,则返回 true
public:
bool IsCommandContextActive(System::UInt32 cookie);
public bool IsCommandContextActive (uint cookie);
abstract member IsCommandContextActive : uint32 -> bool
Public Function IsCommandContextActive (cookie As UInteger) As Boolean
参数
- cookie
- UInt32
要测试的命令上下文 cookie