ToolCommand.ICommand.Execute 方法

[本文档仅供预览,在以后的发行版中可能会发生更改。包含的空白主题用作占位符。]

有关此成员的说明,请参见 ICommand.Execute

命名空间:  Microsoft.Windows.Design.Interaction
程序集:  Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)

语法

声明
Private Sub Execute ( _
    parameter As Object _
) Implements ICommand.Execute
void ICommand.Execute(
    Object parameter
)
private:
virtual void Execute(
    Object^ parameter
) sealed = ICommand::Execute
private abstract Execute : 
        parameter:Object -> unit 
private override Execute : 
        parameter:Object -> unit 
JScript 不支持显式接口实现。

参数

  • parameter
    类型:System.Object
    此命令使用的数据。如果此命令不需要传递数据,则该对象可以设置为 nulla null reference (Nothing in Visual Basic)。

实现

ICommand.Execute(Object)

备注

此成员是显式的接口成员实现。 它只能在 ToolCommand 实例强制转换为 ICommand 接口时使用。

.NET Framework 安全性

请参见

参考

ToolCommand 类

Microsoft.Windows.Design.Interaction 命名空间

其他资源

工具体系结构

了解 WPF 设计器扩展性