XElementExtensions.GetOuterXml method

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

GetOuterXml(XElement)

Extension method

Gets the outer XML of the specified element.

public static string GetOuterXml(this XElement element)

Parameters

element XElement

The XML element.

Returns

A string representing the outer XML of element.