ApplicationManagerRunPackage Method |
Runs a Windows Store application package and returns the application process object.
Namespace:
SmartBear.TestLeft
Assembly:
SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntax public IImmersiveProcess RunPackage(
string packageName,
string commandLine = ""
)
Public Function RunPackage (
packageName As String,
Optional commandLine As String = ""
) As IImmersiveProcess
Dim instance As ApplicationManager
Dim packageName As String
Dim commandLine As String
Dim returnValue As IImmersiveProcess
returnValue = instance.RunPackage(packageName,
commandLine)
public:
IImmersiveProcess^ RunPackage(
String^ packageName,
String^ commandLine = L""
)
Parameters
- packageName
- Type: SystemString
The application package name as it is specified in the package manifest. - commandLine (Optional)
- Type: SystemString
Command-line arguments for the application.
Return Value
Type:
IImmersiveProcessThe
IImmersiveProcess object that corresponds to the launched application instance.
Exceptions See Also