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 ( _
    appPackageFamilyName As String _
) As XamlWindow
public static XamlWindow Launch(
    string appPackageFamilyName
)
public:
static XamlWindow^ Launch(
    String^ appPackageFamilyName
)
static member Launch : 
        appPackageFamilyName:string -> XamlWindow
public static function Launch(
    appPackageFamilyName : String
) : XamlWindow

Parameters

  • appPackageFamilyName
    Type: String

    Package Family Name of the Windows Store Application

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