[]
Loads the document from an XML string.
public bool LoadXml(string xml, Uri baseUri)
Public Function LoadXml(xml As String, baseUri As Uri) As Boolean
| Type | Name | Description |
|---|---|---|
| string | xml | XML string to load. |
| Uri | baseUri | Path to resolve pictures, video, links, and other resources. |
| Type | Description |
|---|---|
| bool | True, if XML successfully loaded; otherwise, False. |
Loads the document from the specified stream in XML format.
The Stream containing the XML document to load. Path to resolve pictures, video, links, and so on.public bool LoadXml(Stream stream, Uri baseUri)
Public Function LoadXml(stream As Stream, baseUri As Uri) As Boolean
| Type | Name | Description |
|---|---|---|
| Stream | stream | |
| Uri | baseUri |
| Type | Description |
|---|---|
| bool | True, if XML successfully loaded; otherwise, False. |
Loads the document from the specified file in XML format.
public bool LoadXml(string fileName)
Public Function LoadXml(fileName As String) As Boolean
| Type | Name | Description |
|---|---|---|
| string | fileName | The name of the file containing the document to load. |
| Type | Description |
|---|---|
| bool | True, if the file is successfully loaded; otherwise, False. |