ICommand.Execute(Object) Method

Definition

Defines the method to be called when the command is invoked.

Equivalent WinUI method: Microsoft.UI.Xaml.Input.ICommand.Execute.

public:
 void Execute(Platform::Object ^ parameter);
void Execute(IInspectable const& parameter);
public void Execute(object parameter);
function execute(parameter)
Public Sub Execute (parameter As Object)

Parameters

parameter
Object

Data used by the command. If the command does not require data to be passed, this value can be null.

Applies to

See also