Share via


Playlist.LoadAsync(IStorageFile) Method

Definition

Asynchronously loads files into a playlist.

public:
 static IAsyncOperation<Playlist ^> ^ LoadAsync(IStorageFile ^ file);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<Playlist> LoadAsync(IStorageFile const& file);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<Playlist> LoadAsync(IStorageFile file);
function loadAsync(file)
Public Shared Function LoadAsync (file As IStorageFile) As IAsyncOperation(Of Playlist)

Parameters

file
IStorageFile

Represents the files to load.

Returns

Represents the asynchronous operation for loading the playlist. The GetResults method of this IAsyncOperation object returns the playlist.

Attributes

Applies to

See also