Compartir a través de


IMonitorSelectionService.IsCommandContextActive Method (Guid)

Verifies whether the specified command UI context is active.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.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

See Also

Reference

IMonitorSelectionService Interface

IsCommandContextActive Overload

Microsoft.VisualStudio.Modeling.Shell Namespace