XmlDocument.LoadFromFileAsync XmlDocument.LoadFromFileAsync XmlDocument.LoadFromFileAsync XmlDocument.LoadFromFileAsync XmlDocument.LoadFromFileAsync Method

Definition

Overloads

LoadFromFileAsync(IStorageFile) LoadFromFileAsync(IStorageFile) LoadFromFileAsync(IStorageFile) LoadFromFileAsync(IStorageFile) LoadFromFileAsync(IStorageFile)

Asynchronously loads an XML document from the specified file. The document is parsed using the default parser settings.

LoadFromFileAsync(IStorageFile, XmlLoadSettings) LoadFromFileAsync(IStorageFile, XmlLoadSettings) LoadFromFileAsync(IStorageFile, XmlLoadSettings) LoadFromFileAsync(IStorageFile, XmlLoadSettings) LoadFromFileAsync(IStorageFile, XmlLoadSettings)

Asynchronously loads an XML document from the specified file. The document is parsed using the provided settings.

LoadFromFileAsync(IStorageFile) LoadFromFileAsync(IStorageFile) LoadFromFileAsync(IStorageFile) LoadFromFileAsync(IStorageFile) LoadFromFileAsync(IStorageFile)

Asynchronously loads an XML document from the specified file. The document is parsed using the default parser settings.

public : static IAsyncOperation<XmlDocument> LoadFromFileAsync(IStorageFile file)
static IAsyncOperation<XmlDocument> LoadFromFileAsync(IStorageFile file) const;
public static IAsyncOperation<XmlDocument> LoadFromFileAsync(IStorageFile file)
Public Shared Function LoadFromFileAsync(file As IStorageFile) As IAsyncOperation(Of XmlDocument)
Windows.Data.Xml.Dom.XmlDocument.loadFromFileAsync(file).done( /* Your success and error handlers */ );
Parameters
file
IStorageFile IStorageFile IStorageFile

The file from which to load the document.

Returns

The object that must be used to start the operation.

See Also

LoadFromFileAsync(IStorageFile, XmlLoadSettings) LoadFromFileAsync(IStorageFile, XmlLoadSettings) LoadFromFileAsync(IStorageFile, XmlLoadSettings) LoadFromFileAsync(IStorageFile, XmlLoadSettings) LoadFromFileAsync(IStorageFile, XmlLoadSettings)

Asynchronously loads an XML document from the specified file. The document is parsed using the provided settings.

public : static IAsyncOperation<XmlDocument> LoadFromFileAsync(IStorageFile file, XmlLoadSettings loadSettings)
static IAsyncOperation<XmlDocument> LoadFromFileAsync(IStorageFile file, XmlLoadSettings loadSettings) const;
public static IAsyncOperation<XmlDocument> LoadFromFileAsync(IStorageFile file, XmlLoadSettings loadSettings)
Public Shared Function LoadFromFileAsync(file As IStorageFile, loadSettings As XmlLoadSettings) As IAsyncOperation(Of XmlDocument)
Windows.Data.Xml.Dom.XmlDocument.loadFromFileAsync(file, loadSettings).done( /* Your success and error handlers */ );
Parameters
file
IStorageFile IStorageFile IStorageFile

The file from which to load the document.

loadSettings
XmlLoadSettings XmlLoadSettings XmlLoadSettings

Settings for customizing parser behavior.

Returns

The object that must be used to start the operation.

See Also