StorageLibrary.GetLibraryAsync(KnownLibraryId) 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.
Obtient la bibliothèque spécifiée.
public:
static IAsyncOperation<StorageLibrary ^> ^ GetLibraryAsync(KnownLibraryId libraryId);
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<StorageLibrary> GetLibraryAsync(KnownLibraryId const& libraryId);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<StorageLibrary> GetLibraryAsync(KnownLibraryId libraryId);
function getLibraryAsync(libraryId)
Public Shared Function GetLibraryAsync (libraryId As KnownLibraryId) As IAsyncOperation(Of StorageLibrary)
Paramètres
- libraryId
- KnownLibraryId
Valeur KnownLibraryId qui identifie la bibliothèque à récupérer, comme Musique ou Vidéos.
Retours
Lorsque cette méthode se termine correctement, elle retourne la bibliothèque (de type StorageLibrary).
- Attributs
S’applique à
Voir aussi
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour