_CommandBars::ActionControl Property
Visual Studio 2015
Gets the CommandBarControl whose OnAction event initiated the procedure that is currently running.
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
[DispIdAttribute(1610809344)]
property CommandBarControl^ ActionControl {
[DispIdAttribute(1610809344)]
CommandBarControl^ get();
}
If the macro wasn't initiated by a command bar control, this property returns null.
Show: