Class ExtensionMethods
XML Document extension methods
Inheritance
System.Object
ExtensionMethods
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Xml
Assembly: OSGeo.MapGuide.MaestroAPI.dll
Syntax
public static class ExtensionMethods
Methods
| Improve this Doc View SourceToXmlString(XmlDocument, Boolean)
Gets the XML string of this document
Declaration
public static string ToXmlString(this XmlDocument doc, bool indent = false)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlDocument | doc | The XML document |
System.Boolean | indent | If true, will indent the XML content, false otherwise |
Returns
Type | Description |
---|---|
System.String | The XML string |