IAppxManifestReader interface (appxpackaging.h)
Represents an object model of the package manifest that provides methods to access manifest elements and attributes.
Inheritance
The IAppxManifestReader interface inherits from the IUnknown interface. IAppxManifestReader also has these types of members:
Methods
The IAppxManifestReader interface has these methods.
IAppxManifestReader::GetApplications Gets an enumerator that iterates through the applications defined in the manifest. |
IAppxManifestReader::GetCapabilities Gets the list of capabilities requested by the package. |
IAppxManifestReader::GetDeviceCapabilities Gets an enumerator that iterates through the device capabilities defined in the manifest. |
IAppxManifestReader::GetPackageDependencies Gets an enumerator that iterates through dependencies defined in the manifest. |
IAppxManifestReader::GetPackageId Gets the package identifier defined in the manifest. |
IAppxManifestReader::GetPrerequisite Gets the specified prerequisite as defined in the package manifest. |
IAppxManifestReader::GetProperties Gets the properties of the package as defined in the manifest. |
IAppxManifestReader::GetResources Gets an enumerator that iterates through the resources defined in the manifest. |
IAppxManifestReader::GetStream Gets the raw XML parsed and read by the manifest reader. |
Remarks
Do not implement this object. Use the provided implementation instead.
This IAppxManifestReader object parses and validates the app package manifest and exposes elements and attributes in the manifest in a type-safe manner. This object can also be used to get an underlying IStream for the raw XML if needed.
Examples
For an example, see Quickstart: Read app package manifest info.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | appxpackaging.h |
See also
IAppxManifestApplicationsEnumerator
IAppxManifestDeviceCapabilitiesEnumerator