Partager via


XPackageFeature

Describes a feature.

Syntax

typedef struct XPackageFeature {  
    const char* id;  
    const char* displayName;  
    const char* tags;  
    bool hidden;  
    uint32_t storeIdCount;
    const char** storeIds;
} XPackageFeature  

Members

id
Type: const char*

The feature ID.

displayName
Type: const char*

The display name that will be shown to the user.

tags
Type: const char*

The package's feature tags.

hidden
Type: bool

Determines whether the package's feature is hidden.

storeIdCount
Type: uint32_t

The number of store IDs in the storeIds array.

storeIds
Type: const char**

An array of store IDs associated with this feature through a recipe. If there are no associated store IDs this field will be null.

Remarks

The XPackageFeature structure describes the features of a package. XPackageFeature defines the feature ID, display name, and feature tags. It also determines whether the package's feature is hidden. A feature ID may be related to zero or more store IDs through a recipe. Related store IDs are available on XPackageFeature.

For information about the packaging technology used with Xbox One titles, see Overview of Packaging.

Requirements

Header: XPackage.h

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

See also

XPackageEnumerateFeatures
XPackage