Share via


Méthode IAppxBundleManifestReader2::GetOptionalBundles (appxpackaging.h)

Récupère un objet qui représente l’élément <OptionalBundles> sous l’élément Bundle> racine<.

Syntaxe

HRESULT GetOptionalBundles(
  [out, retval] IAppxBundleManifestOptionalBundleInfoEnumerator **optionalBundles
);

Paramètres

[out, retval] optionalBundles

Bundle facultatif.

Valeur retournée

Si cette méthode réussit, elle retourne S_OK. Sinon, elle retourne un code d’erreur HRESULT.

Spécifications

   
Client minimal pris en charge Windows 10 (applications de bureau uniquement)
Serveur minimal pris en charge Windows Server 2016 (applications de bureau uniquement)
Plateforme cible Windows
En-tête appxpackaging.h

Voir aussi

IAppxBundleManifestReader2