有关此成员的说明,请参见 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
 此命令使用的数据。如果此命令不需要传递数据,则该对象可以设置为 nullnull 引用(在 Visual Basic 中为 Nothing)。
实现
备注
此成员是显式的接口成员实现。 它只能在 ToolCommand 实例强制转换为 ICommand 接口时使用。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
Microsoft.Windows.Design.Interaction 命名空间