XmlDocument.SaveToFileAsync(IStorageFile) Method

Definition

Asynchronously saves an XML document to the specified file.

public:
 virtual IAsyncAction ^ SaveToFileAsync(IStorageFile ^ file) = SaveToFileAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction SaveToFileAsync(IStorageFile const& file);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction SaveToFileAsync(IStorageFile file);
function saveToFileAsync(file)
Public Function SaveToFileAsync (file As IStorageFile) As IAsyncAction

Parameters

file
IStorageFile

The file to save the document to.

Returns

IAsyncAction

The object that must be used to start the operation.

Attributes

Applies to