CommandBarsClass.ActionControl, propriété

Obtient CommandBarControl dont l'événement d'OnAction a initialisé la procédure qui est en cours d'exécution.

Espace de noms :  Microsoft.VisualStudio.CommandBars
Assembly :  Microsoft.VisualStudio.CommandBars (dans Microsoft.VisualStudio.CommandBars.dll)

Syntaxe

'Déclaration
Public Overridable ReadOnly Property ActionControl As CommandBarControl
public virtual CommandBarControl ActionControl { get; }

Valeur de propriété

Type : Microsoft.VisualStudio.CommandBars.CommandBarControl
CommandBarControl .

Implémentations

_CommandBars.ActionControl

Remarques

Si la macro n'était pas initialisée par un contrôle de barre de commandes, des retours nullRéférence Null (Nothing en Visual Basic) de cette propriété.

Sécurité .NET Framework

Voir aussi

Référence

CommandBarsClass Classe

Microsoft.VisualStudio.CommandBars, espace de noms