Compartir a través de


StorageLibrary.GetLibraryAsync(KnownLibraryId) Método

Definición

Obtiene la biblioteca especificada.

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)

Parámetros

libraryId
KnownLibraryId

Valor KnownLibraryId que identifica la biblioteca que se va a recuperar, como Música o Vídeos.

Devoluciones

Cuando este método se completa correctamente, devuelve la biblioteca (tipo StorageLibrary).

Atributos

Se aplica a

Consulte también