Partager via


Méthode IAppxBundleManifestOptionalBundleInfo ::GetPackageId (appxpackaging.h)

Récupère un objet qui représente l’identité de l’OptionalBundle<>.

Syntaxe

HRESULT GetPackageId(
  [out, retval] IAppxManifestPackageId **packageId
);

Paramètres

[out, retval] packageId

Identificateur de package.

Valeur retournée

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

Spécifications

Condition requise Valeur
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

IAppxBundleManifestOptionalBundleInfo