XPackageEnumerationScope

Indicates the scope of packages to be returned when installation packages are being enumerated.

Syntax

enum class XPackageEnumerationScope  : uint32_t  
{  
    ThisOnly,  
    ThisAndRelated,  
    ThisPublisher  
}  

Constants

Constant Description
ThisOnly Scope is limited to just apps or content associated with the calling process.
ThisAndRelated Scope includes apps or content associated with the calling process and also includes apps or content that are associated with any package the calling process has added to its RelatedProducts section of its game config file.
ThisPublisher Scope includes apps having the same publisher as the calling process or content related to apps that have the same publisher as the current process.

Remarks

The constants in this enumeration are used by packages, apps, and content associated with the calling process. These constants are specified in the RelatedProducts section of the Game config file. For information about the packaging technology used with Xbox One titles, see Overview of Packaging. For information about the steps to create an XVC package, see Getting started packaging titles for Xbox consoles.

Requirements

Header: XPackage.h

Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles

See also

How to create and use Downloadable Content Packages (DLC) for PC and Xbox One
XPackage
Franchise Game Hubs