Share via


CommandBarControl.OnAction 属性

定义

返回或设置在用户单击或更改命令栏控件的值时将运行的过程的名称。

public:
 property System::String ^ OnAction { System::String ^ get(); void set(System::String ^ value); };
public string OnAction { get; set; }
member this.OnAction : string with get, set
Public Property OnAction As String

属性值

注解

容器应用程序将确定该值是否是一个合法的宏名。

适用于