Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

XDocument.Save Method

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
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Save(Stream) Outputs this XDocument to the specified Stream.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Save(TextWriter) Serialize this XDocument to a TextWriter.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Save(XmlWriter) Serialize this XDocument to an XmlWriter.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Save(Stream, SaveOptions) Outputs this XDocument to the specified Stream, optionally specifying formatting behavior.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Save(TextWriter, SaveOptions) Serialize this XDocument to a TextWriter, optionally disabling formatting.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.