PackUriHelper.GetPackageUri(Uri) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne l’URI interne qui pointe vers le package entier d’un URI à en-tête pack spécifié.
public:
static Uri ^ GetPackageUri(Uri ^ packUri);
public static Uri GetPackageUri (Uri packUri);
static member GetPackageUri : Uri -> Uri
Public Shared Function GetPackageUri (packUri As Uri) As Uri
Paramètres
Retours
URI de Package à partir du packUri
spécifié.
Exceptions
packUri
a la valeur null
.
packUri
n’est pas un Uri absolu.
Remarques
Le tableau suivant illustre des exemples de cas pour GetPackageUri.
packUri |
URI de package retourné |
---|---|
pack ://http :,,www.proseware.com,mypackage.xyz/a/mydoc.xaml | http://www.proseware.com/mypackage.xyz |
pack ://http :,,www.proseware.com,packages.aspx%3fmypackage/a/bar.xaml | http://www.proseware.com/packages.aspx?mypackage |
pack ://http :,,www.proseware.com,mypackage.pkg | http://www.proseware.com/mypackage.pkg |
pack ://ftp :,,ftp.proseware.com,packages,mypackage1.abc/a/picture.jpg | ftp://ftp.proseware.com/packages/mypackage1.abc |
pack ://file :,,,d :,packages,mypackage2.pkg/a/bar.xaml | file:///d:/packages/mypackage2.pkg |
S’applique à
Voir aussi
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de l’année 2024, nous abandonnerons progressivement le mécanisme de retour d’information GitHub Issues pour le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultez :Soumettre et afficher des commentaires pour