PlaySoundAction.Execute Method

Executes the action.

Namespace:  Microsoft.Xaml.Interactions.Media
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 Source is set successfully; otherwise, false.

Implements

IAction.Execute(Object, Object)

.NET Framework Security

See Also

Reference

PlaySoundAction Class

Microsoft.Xaml.Interactions.Media Namespace

AssociatedObject