ICommand.Execute(Object) ICommand.Execute(Object) ICommand.Execute(Object) ICommand.Execute(Object) Method

定义

定义在调用此命令时要调用的方法。Defines the method to be called when the command is invoked.

public:
 void Execute(System::Object ^ parameter);
public void Execute (object parameter);
abstract member Execute : obj -> unit
Public Sub Execute (parameter As Object)

参数

parameter
Object Object Object Object

此命令使用的数据。Data used by the command. 如果此命令不需要传递数据,则该对象可以设置为 nullIf the command does not require data to be passed, this object can be set to null.

适用于

另请参阅