Share via


InvokeCommandAction.Execute Method

Executes the action.

Namespace:  Microsoft.Xaml.Interactions.Core
Assembly:  Microsoft.Xaml.Interactions (in Microsoft.Xaml.Interactions.dll)

Syntax

'Declaration
Public Function Execute ( _
    sender As Object, _
    parameter As Object _
) As Object
public Object Execute(
    Object sender,
    Object parameter
)
public:
virtual Object^ Execute(
    Object^ sender, 
    Object^ parameter
) sealed
abstract Execute : 
        sender:Object * 
        parameter:Object -> Object  
override Execute : 
        sender:Object * 
        parameter:Object -> Object
public final function Execute(
    sender : Object, 
    parameter : Object
) : Object

Parameters

  • parameter
    Type: System.Object

    The value of this parameter is determined by the caller.

Return Value

Type: System.Object
true if the command is successfully executed; otherwise, false.

Implements

IAction.Execute(Object, Object)

.NET Framework Security

See Also

Reference

InvokeCommandAction Class

Microsoft.Xaml.Interactions.Core Namespace

AssociatedObject