RoutedCommand.ICommand.Execute(Object) 方法

定義

如需這個成員的說明,請參閱 Execute(Object)For a description of this members, see Execute(Object).

 virtual void System.Windows.Input.ICommand.Execute(System::Object ^ parameter) = System::Windows::Input::ICommand::Execute;
void ICommand.Execute (object parameter);
Sub Execute (parameter As Object) Implements ICommand.Execute

參數

parameter
Object

命令所用的資料。Data used by the command. 如果命令不需要傳遞資料,則這個物件可設為 nullIf the command does not require data to be passed, this object can be set to null.

實作

範例

請參閱See Also

Execute

備註

這個成員是明確介面成員實作,This member is an explicit interface member implementation. 只有在 RoutedCommand 執行個體轉換成 ICommand 介面時,才能使用這個成員。It can be used only when the RoutedCommand instance is cast to an ICommand interface.

適用於