Expand Minimize

XmlDocument.SaveToFileAsync | saveToFileAsync method

Applies to Windows and Windows Phone

Asynchronously saves an XML document to the specified file.

Syntax


public IAsyncAction SaveToFileAsync(
  IStorageFile file
)

Parameters

file

Type: IStorageFile

The file to save the document to.

Return value

Type: IAsyncAction

The object that must be used to start the operation.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Data.Xml.Dom
Windows::Data::Xml::Dom [C++]

Metadata

Windows.winmd

See also

XmlDocument

 

 

Show:
© 2014 Microsoft