Playlist.SaveAsAsync 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.
Overloads
SaveAsAsync(IStorageFolder, String, NameCollisionOption) |
Asynchronously saves the playlist to a specified file and folder. |
SaveAsAsync(IStorageFolder, String, NameCollisionOption, PlaylistFormat) |
Asynchronously saves the playlist to a specified file and folder, in a specified format. |
SaveAsAsync(IStorageFolder, String, NameCollisionOption)
Asynchronously saves the playlist to a specified file and folder.
public:
virtual IAsyncOperation<StorageFile ^> ^ SaveAsAsync(IStorageFolder ^ saveLocation, Platform::String ^ desiredName, NameCollisionOption option) = SaveAsAsync;
/// [Windows.Foundation.Metadata.Overload("SaveAsAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<StorageFile> SaveAsAsync(IStorageFolder const& saveLocation, winrt::hstring const& desiredName, NameCollisionOption const& option);
[Windows.Foundation.Metadata.Overload("SaveAsAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<StorageFile> SaveAsAsync(IStorageFolder saveLocation, string desiredName, NameCollisionOption option);
function saveAsAsync(saveLocation, desiredName, option)
Public Function SaveAsAsync (saveLocation As IStorageFolder, desiredName As String, option As NameCollisionOption) As IAsyncOperation(Of StorageFile)
Parameters
- saveLocation
- IStorageFolder
The folder in which to save the playlist.
- desiredName
-
String
Platform::String
winrt::hstring
The name of the playlist to save.
- option
- NameCollisionOption
The action to take if the playlist is saved to an existing file. One of the values of the NameCollisionOption enumeration.
Returns
Represents the asynchronous operation to save the playlist to a specified file and folder.
- Attributes
See also
Applies to
SaveAsAsync(IStorageFolder, String, NameCollisionOption, PlaylistFormat)
Asynchronously saves the playlist to a specified file and folder, in a specified format.
public:
virtual IAsyncOperation<StorageFile ^> ^ SaveAsAsync(IStorageFolder ^ saveLocation, Platform::String ^ desiredName, NameCollisionOption option, PlaylistFormat playlistFormat) = SaveAsAsync;
/// [Windows.Foundation.Metadata.Overload("SaveAsWithFormatAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<StorageFile> SaveAsAsync(IStorageFolder const& saveLocation, winrt::hstring const& desiredName, NameCollisionOption const& option, PlaylistFormat const& playlistFormat);
[Windows.Foundation.Metadata.Overload("SaveAsWithFormatAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<StorageFile> SaveAsAsync(IStorageFolder saveLocation, string desiredName, NameCollisionOption option, PlaylistFormat playlistFormat);
function saveAsAsync(saveLocation, desiredName, option, playlistFormat)
Public Function SaveAsAsync (saveLocation As IStorageFolder, desiredName As String, option As NameCollisionOption, playlistFormat As PlaylistFormat) As IAsyncOperation(Of StorageFile)
Parameters
- saveLocation
- IStorageFolder
The folder in which to save the playlist.
- desiredName
-
String
Platform::String
winrt::hstring
The name of the playlist to save.
- option
- NameCollisionOption
The action to take if the playlist is saved to an existing file. One of the values of the NameCollisionOption enumeration.
- playlistFormat
- PlaylistFormat
The playlist format. One of the values of the PlaylistFormat enumeration.
Returns
Represents the asynchronous operation to save the playlist to a specified file and folder.
- Attributes