Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft