Freigeben über


IMonitorSelectionService.IsCommandContextActive-Methode (Guid)

Überprüft, ob der angegebene Befehlsbenutzeroberflächenkontext aktiv ist.

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
)

Parameter

  • commandContext
    Typ: System.Guid
    Die GUID für den Kontext der Befehlsbenutzeroberfläche, den Sie überprüfen möchten.

Rückgabewert

Typ: System.Boolean
"true", wenn der Befehlsbenutzeroberflächenkontext aktiv ist, andernfalls "false".

.NET Framework-Sicherheit

Siehe auch

Referenz

IMonitorSelectionService Schnittstelle

IsCommandContextActive-Überladung

Microsoft.VisualStudio.Modeling.Shell-Namespace