TXTextControl.Web.TextControl.LoadXMLDatabaseAsync Method

Loads an XML database which is used to create table and field name menu items in the mailings ribbon tab. The method returns immediately and does not wait for the database to be completely loaded.

LoadXMLDatabaseAsync(String)

Loads an XML database from a file.

[C#]
public async System.Threading.Tasks.Task LoadXMLDatabaseAsync(string fileName);
[Visual Basic]
Public Async Function LoadXMLDatabaseAsync(ByVal fileName as String) As System.Threading.Tasks.Task
Parameter Description
fileName

Specifies an xml file from which the database is loaded.

LoadXMLDatabaseAsync(XmlDocument)

Loads an XML database from an XmlDocument object.

[C#]
public async System.Threading.Tasks.Task LoadXMLDatabaseAsync(System.Xml.XmlDocument xmlDocument);
[Visual Basic]
Public Async Function LoadXMLDatabaseAsync(ByVal xmlDocument as System.Xml.XmlDocument) As System.Threading.Tasks.Task
Parameter Description
xmlDocument

Specifies an XmlDocument object from which the database is loaded.

LoadXMLDatabaseAsync(FileStream)

Loads an XML database from a file stream.

[C#]
public async System.Threading.Tasks.Task LoadXMLDatabaseAsync(System.IO.FileStream fileStream);
[Visual Basic]
Public Async Function LoadXMLDatabaseAsync(ByVal fileStream as System.IO.FileStream) As System.Threading.Tasks.Task
Parameter Description
fileStream

Specifies an xml file from which the database is loaded. The data is loaded from the stream's current position.

See Also