XmlUtils.GetOuterXml method

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Xml
Assembly Skybrud.Essentials.dll

GetOuterXml(XElement)

Static

Gets the outer XML of the specified element.

public static string GetOuterXml(XElement element)

Parameters

element XElement

The XML element.

Returns

A string representing the outer XML of element.