Share via


XamlWindow.Launch Method

Launches the XAML application using given Package Family Name as if the app is not in running/suspended state even if it is.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls
Assembly:  Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)

Syntax

'Declaration
Public Shared Function Launch ( _
    tileAutomationId As String _
) As XamlWindow
public static XamlWindow Launch(
    string tileAutomationId
)
public:
static XamlWindow^ Launch(
    String^ tileAutomationId
)
static member Launch : 
        tileAutomationId:string -> XamlWindow
public static function Launch(
    tileAutomationId : String
) : XamlWindow

Parameters

Return Value

Type: Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls.XamlWindow
XamlWindow corresponding to the XAML application

.NET Framework Security

See Also

Reference

XamlWindow Class

Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls Namespace