ICommand.Execute(Object) 方法
定义
定义在调用此命令时要调用的方法。Defines the method to be called when the command is invoked.
public:
void Execute(System::Object ^ parameter);
public void Execute (object parameter);
public void Execute (object? parameter);
abstract member Execute : obj -> unit
Public Sub Execute (parameter As Object)
参数
- parameter
- Object
此命令使用的数据。Data used by the command. 如果此命令不需要传递数据,则该对象可以设置为 null。If the command does not require data to be passed, this object can be set to null.