XElement.Save Method

 

Serialize this element's underlying XML tree. The output can be saved to a file, an XmlTextWriter, a TextWriter, or an XmlWriter. Optionally, formatting (indenting) can be disabled.

Namespace:   System.Xml.Linq
Assembly:  System.Xml.Linq (in System.Xml.Linq.dll)

NameDescription
System_CAPS_pubmethodSave(Stream)

Outputs this XElement to the specified Stream.

System_CAPS_pubmethodSave(Stream, SaveOptions)

Outputs this XElement to the specified Stream, optionally specifying formatting behavior.

System_CAPS_pubmethodSave(String)

Serialize this element to a file.

System_CAPS_pubmethodSave(String, SaveOptions)

Serialize this element to a file, optionally disabling formatting.

System_CAPS_pubmethodSave(TextWriter)

Serialize this element to a TextWriter.

System_CAPS_pubmethodSave(TextWriter, SaveOptions)

Serialize this element to a TextWriter, optionally disabling formatting.

System_CAPS_pubmethodSave(XmlWriter)

Serialize this element to an XmlWriter.

Return to top
Show: