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.

XamlWriter.Save Method

Returns XAML either directly or through an object intermediary that serializes the specified object.

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

  NameDescription
Public method Static member Save(Object) Returns a XAML string that serializes the specified object and its properties.
Public method Static member Save(Object, Stream) Saves XAML information into a specified stream to serialize the specified object and its properties.
Public method Static member Save(Object, TextWriter) Saves XAML information as the source for a provided TextWriter object. The output of the TextWriter can then be used to serialize the provided object and its properties.
Public method Static member Save(Object, XamlDesignerSerializationManager) Saves XAML information into a custom serializer. The output of the serializer can then be used to serialize the provided object and its properties.
Public method Static member Save(Object, XmlWriter) Saves XAML information as the source for a provided XmlWriter object. The output of the XmlWriter can then be used to serialize the provided object and its properties.
Top

Community Additions

Show:
© 2017 Microsoft