Share via


_CommandBars.ActionControl 属性

定义

返回对象的CommandBarControlOnAction属性设置为正在运行的过程。

public:
 property Microsoft::Office::Core::CommandBarControl ^ ActionControl { Microsoft::Office::Core::CommandBarControl ^ get(); };
public Microsoft.Office.Core.CommandBarControl ActionControl { get; }
member this.ActionControl : Microsoft.Office.Core.CommandBarControl
Public ReadOnly Property ActionControl As CommandBarControl

属性值

注解

如果正在运行的过程不是由命令栏控件启动的,则此属性返回 Nothing

调用此属性和 Tag 属性以确定之前单击的命令栏按钮。

适用于