Playlist.LoadAsync(IStorageFile) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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