Share via


Xml (XElement Dynamic Property)

Gets the unformatted XML content of the element.

elem.Xml

Property Value/Return Value

A String that represents the unformatted XML content of the element.

Remarks

This property is equivalent to the ToString(SaveOptions) method of the System.Xml.Linq.XNode class, with the SaveOptions parameter set to DisableFormatting.

See Also

Concepts

XElement Class Dynamic Properties

Reference

Value (XElement Dynamic Property)