ApplicationManager.SetDefaultApp Method

Sets the default app for the specified Title ID.

Syntax

public:
static void SetDefaultApp(
         String^ titleId,
         String^ aumid
)  

Parameters

titleId
Type: String 

 The Title ID to set the default app for.

aumid
Type: String 

 The application user model ID (AUMID) for the default app.

Remarks

This method is equivalent to calling xbapp setdefaultapp.

Example

//Set the default app to be the Profile build
_handleDefaultDebugButtonInvoked: function () {
    appManager.setDefaultApp("54ce29f9", "Achievements110_zjr0dfhgjwvde!AchievementsProfile");
},  

Requirements

Namespace: Microsoft.Xbox.Tools.ConsoleExtensions

Metadata: microsoft.xbox.tools.consoleextensions.winmd

See also

Reference

ApplicationManager Class

ApplicationManager Members

Microsoft.Xbox.Tools.ConsoleExtensions Namespace