StorageLibrary.GetLibraryAsync(KnownLibraryId) Método

Definição

Obtém a 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

Um valor KnownLibraryId que identifica a biblioteca a ser recuperada, como Músicas ou Vídeos.

Retornos

Quando esse método for concluído com êxito, ele retornará a biblioteca (digite StorageLibrary).

Atributos

Aplica-se a

Confira também