Partager via


IMonitorSelectionService.IsCommandContextActive, méthode (Guid)

Vérifie si le contexte spécifié de la commande interface utilisateur est actif.

Espace de noms :  Microsoft.VisualStudio.Modeling.Shell
Assembly :  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (dans Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)

Syntaxe

'Déclaration
Function IsCommandContextActive ( _
    commandContext As Guid _
) As Boolean
bool IsCommandContextActive(
    Guid commandContext
)

Paramètres

  • commandContext
    Type : System.Guid
    GUID pour le contexte de la commande interface utilisateur que vous souhaitez vérifier.

Valeur de retour

Type : System.Boolean
true si le contexte de la commande interface utilisateur est actif ; sinon, false.

Sécurité .NET Framework

Voir aussi

Référence

IMonitorSelectionService Interface

IsCommandContextActive, surcharge

Microsoft.VisualStudio.Modeling.Shell, espace de noms