StorageLibrary.GetLibraryAsync(KnownLibraryId) Méthode

Définition

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