IMonitorSelectionService.IsCommandContextActive Method (Guid)
Verifies whether the specified command UI context is active.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaration
Function IsCommandContextActive ( _
commandContext As Guid _
) As Boolean
bool IsCommandContextActive(
Guid commandContext
)
bool IsCommandContextActive(
Guid commandContext
)
abstract IsCommandContextActive :
commandContext:Guid -> bool
function IsCommandContextActive(
commandContext : Guid
) : boolean
Parameters
- commandContext
Type: System.Guid
The GUID for the command UI context that you want to verify.
Return Value
Type: System.Boolean
true if the command UI context is active; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IMonitorSelectionService Interface