Class XmlDocumentConverter
This utility class is designed to make System.
Inheritance
Namespace: Cuemon.Xml
Assembly: Cuemon.Xml.dll
Syntax
public static class XmlDocumentConverter
Methods
| Improve this DocFromReader(XmlReader)
Converts the given System.
Declaration
public static XmlDocument FromReader(XmlReader value)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | The System. |
Returns
Type | Description |
---|---|
System. |
An System. |
FromReader(XmlReader, Boolean)
Converts the given System.
Declaration
public static XmlDocument FromReader(XmlReader value, bool leaveStreamOpen)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | The System. |
System. |
leaveStreamOpen | if |
Returns
Type | Description |
---|---|
System. |
An System. |
FromStream(Stream)
Converts the given System.
Declaration
public static XmlDocument FromStream(Stream value)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | The System. |
Returns
Type | Description |
---|---|
System. |
An System. |
FromStream(Stream, Boolean)
Converts the given System.
Declaration
public static XmlDocument FromStream(Stream value, bool leaveStreamOpen)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | The System. |
System. |
leaveStreamOpen | if |
Returns
Type | Description |
---|---|
System. |
An System. |
FromString(String)
Converts the given string to an System.
Declaration
public static XmlDocument FromString(string value)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | The string to be converted. |
Returns
Type | Description |
---|---|
System. |
An XmlDocumentobject. |
FromUri(Uri)
Converts the given URI to an System.
Declaration
public static XmlDocument FromUri(Uri value)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | The URI to be converted. |
Returns
Type | Description |
---|---|
System. |
An XmlDocumentobject. |