Mono Class Library: System.Xml.XmlNode Overview | Members

System.Xml.XmlNode.OuterXml Property

Gets a string representation of the node.

public virtual string OuterXml { get; }

Value

A string representing this node. If the node is an element, the start and end tags are included.

Remarks

OuterXml returns the same string that XmlNode.WriteTo would write to an System.Xml.XmlTextWriter.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0