共用方式為


IMonitorSelectionService.IsCommandContextActive Method

Definition

Overloads

IsCommandContextActive(Guid)

Returns true if the given command context is currently active

IsCommandContextActive(UInt32)

Returns true if the command context corresponding to the given cookie is currently active

IsCommandContextActive(Guid)

Returns true if the given command context is currently active

public:
 bool IsCommandContextActive(Guid commandContext);
public bool IsCommandContextActive (Guid commandContext);
abstract member IsCommandContextActive : Guid -> bool
Public Function IsCommandContextActive (commandContext As Guid) As Boolean

Parameters

commandContext
Guid

command context to test

Returns

Applies to

IsCommandContextActive(UInt32)

Returns true if the command context corresponding to the given cookie is currently active

public:
 bool IsCommandContextActive(System::UInt32 cookie);
public bool IsCommandContextActive (uint cookie);
abstract member IsCommandContextActive : uint32 -> bool
Public Function IsCommandContextActive (cookie As UInteger) As Boolean

Parameters

cookie
UInt32

command context cookie to test

Returns

Applies to