共用方式為


XamlUICommand.Execute(Object) 方法

定義

叫用命令。

public:
 virtual void Execute(Platform::Object ^ parameter) = Execute;
void Execute(IInspectable const& parameter);
// This member is not implemented in C#
function execute(parameter)
' This member is not implemented in VB.NET

參數

parameter
Object

Platform::Object

IInspectable

命令所用的資料。 如果命令不需要資料,這個物件可以設定為 null。

實作

M:Windows.UI.Xaml.Input.ICommand.Execute(System.Object) M:System.Windows.Input.ICommand.Execute(System.Object) M:Windows.UI.Xaml.Input.ICommand.Execute(Platform::Object) M:Windows.UI.Xaml.Input.ICommand.Execute(IInspectable)

適用於

另請參閱