XDocument.ToString Method (System.Xml.Linq)

Switch View :
ScriptFree
.NET Framework Class Library
XDocument.ToString Method

Returns the XML for this node, optionally disabling formatting.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method ToString() Returns the indented XML for this node. (Inherited from XNode.)
Public method ToString(SaveOptions) Returns the XML for this node, optionally disabling formatting. (Inherited from XNode.)
Top
See Also

Reference

Other Resources