Edit

Share via


CommandBarControl.Execute Method

Definition

Runs the procedure or built-in command assigned to the specified command bar control.

public:
 void Execute();
public void Execute ();
abstract member Execute : unit -> unit
Public Sub Execute ()

Remarks

For custom controls, use the OnAction property to specify the procedure to be run.

Applies to