LoadXmlFile Method
- Namespace
TXTextControl.DocumentServer. DataSources
- Package
TXTextControl.asTextControl. WinForms. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
Loads the contents of an XML file as a data source.
Syntax
public void LoadXmlFile(string fileName);Public Sub LoadXmlFile(fileName As String)Parameters
| Parameter | Description |
|---|---|
| fileName | The file name. |
Examples
The following example uses Load Xml File in a focused Data Source Manager workflow. The created object is then available to the surrounding document workflow.
dataSourceManager.LoadXmlFile("document.docx");
Console.WriteLine("Data Source Manager is ready for use.");dataSourceManager.LoadXmlFile("document.docx")
Console.WriteLine("Data Source Manager is ready for use.")