Share via


MediaAction Constructor (UITechnologyElement, UITestMediaEventInfo)

 

Creates an instance of MediaAction for a UITechnologyElement with specified media event.

Namespace:   Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Syntax

public MediaAction(
    UITechnologyElement element,
    UITestMediaEventInfo eventArgs
)
public:
MediaAction(
    UITechnologyElement^ element,
    UITestMediaEventInfo^ eventArgs
)
new : 
        element:UITechnologyElement *
        eventArgs:UITestMediaEventInfo -> MediaAction
Public Sub New (
    element As UITechnologyElement,
    eventArgs As UITestMediaEventInfo
)

Parameters

See Also

MediaAction Overload
MediaAction Class
Microsoft.VisualStudio.TestTools.UITest.Common Namespace

Return to top