Xml (XElement Dynamic Property)

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Gets the unformatted XML content of the element.

Syntax

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 SaveOptions.

See Also

XElement Class Dynamic Properties Value