IMonitorSelectionService.IsCommandContextActive 方法

定义

重载

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

要测试的命令上下文

返回

Boolean

适用于

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

返回

Boolean

适用于