Share via


ToolCommand.ICommand.Execute Method

For a description of this member, see ICommand.Execute.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
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 does not support explicit interface implementations.

Parameters

  • parameter
    Type: System.Object
    Data used by the command. If the command does not require data to be passed, this object can be set to nulla null reference (Nothing in Visual Basic).

Implements

ICommand.Execute(Object)

Remarks

This member is an explicit interface member implementation. It can be used only when the ToolCommand instance is cast to an ICommand interface.

.NET Framework Security

See Also

Reference

ToolCommand Class

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Tool Architecture

Understanding WPF Designer Extensibility