XDocument.Save Method
.NET Framework 3.5
Serializes this XDocument to a file, a TextWriter, or an XmlWriter.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
Save(TextWriter) | Serialize this XDocument to a TextWriter. |
|
Save(String) | Serialize this XDocument to a file. |
|
Save(XmlWriter) | Serialize this XDocument to an XmlWriter. |
|
Save(TextWriter, SaveOptions) | Serialize this XDocument to a TextWriter, optionally disabling formatting. |
|
Save(String, SaveOptions) | Serialize this XDocument to a file, optionally disabling formatting. |