Freigeben über


IMonitorSelectionService.IsCommandContextActive-Methode (UInt32)

Überprüft, ob der Befehlsbenutzeroberflächenkontext für das angegebene Cookie 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 ( _
    cookie As UInteger _
) As Boolean
bool IsCommandContextActive(
    uint cookie
)

Parameter

  • cookie
    Typ: System.UInt32
    Das Cookie, das dem Befehlsbenutzeroberflächen-Kontext zugewiesen wird.

Rückgabewert

Typ: System.Boolean
"True", wenn der Befehlsbenutzeroberflächenkontext für das angegebene Cookie aktiv ist; andernfalls "False".

.NET Framework-Sicherheit

Siehe auch

Referenz

IMonitorSelectionService Schnittstelle

IsCommandContextActive-Überladung

Microsoft.VisualStudio.Modeling.Shell-Namespace