Edit

Share via


_CommandBarButton.OnAction Property

Definition

Returns or sets the name of a Visual Basic procedure that will run when the user clicks or changes the value of a command bar control.

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

Property Value

Implements

Remarks

The container application determines whether the value is a valid macro name.

Applies to