IAppxManifestOptionalPackageInfo interface (appxpackaging.h)

Provides access to attribute values of the optional package information.


The IAppxManifestOptionalPackageInfo interface inherits from the IUnknown interface. IAppxManifestOptionalPackageInfo also has these types of members:


The IAppxManifestOptionalPackageInfo interface has these methods.

Method Description
IAppxManifestOptionalPackageInfo::GetIsOptionalPackage Determines whether the package is optional.
IAppxManifestOptionalPackageInfo::GetMainPackageName Gets the main package name from the optional package.


Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header appxpackaging.h