Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Playlist.SaveAsAsync(IStorageFolder, String, NameCollisionOption, PlaylistFormat) | saveAsAsync(IStorageFolder, String, NameCollisionOption, PlaylistFormat) method

Applies to Windows only

Asynchronously saves the playlist to a specified file and folder, in a specified format.

Syntax


playlist.saveAsAsync(saveLocation, desiredName, option, playlistFormat).done( /* Your success and error handlers */ );

Parameters

saveLocation

Type: IStorageFolder

The folder in which to save the playlist.

desiredName

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The name of the playlist to save.

option

Type: NameCollisionOption

The action to take if the playlist is saved to an existing file. One of the values of the NameCollisionOption enumeration.

playlistFormat

Type: PlaylistFormat

The playlist format. One of the values of the PlaylistFormat enumeration.

Return value

Type: IAsyncOperation<StorageFile>

Represents the asynchronous operation to save the playlist to a specified file and folder.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.Media.Playlists
Windows::Media::Playlists [C++]

Metadata

Windows.winmd

See also

Playlist
SaveAsAsync(IStorageFolder, String, NameCollisionOption)

 

 

Show:
© 2014 Microsoft