StorageLibrary.GetLibraryAsync(KnownLibraryId) Methode

Definition

Ruft die angegebene Bibliothek ab.

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)

Parameter

libraryId
KnownLibraryId

Ein KnownLibraryId-Wert , der die abzurufende Bibliothek identifiziert, z. B. Musik oder Videos.

Gibt zurück

Wenn diese Methode erfolgreich abgeschlossen wurde, wird die Bibliothek (Typ StorageLibrary) zurückgegeben.

Attribute

Gilt für:

Weitere Informationen