Method Save
- Namespace
- SharpVectors.Converters
- Assembly
- SharpVectors.Converters.Wpf.dll
Save(object)
Returns a Extensible Application Markup Language (XAML) string that serializes the provided object.
public string Save(object obj)
Parameters
objobjectThe element to be serialized. Typically, this is the root element of a page or application.
Returns
- string
Extensible Application Markup Language (XAML) string that can be written to a stream or file. The logical tree of all elements that fall under the provided obj element will be serialized.
Save(object, Stream)
Saves Extensible Application Markup Language (XAML) information into a provided stream to serialize the provided object.
public void Save(object obj, Stream stream)
Parameters
objobjectThe element to be serialized. Typically, this is the root element of a page or application.
streamStreamDestination stream for the serialized XAML information.
Save(object, TextWriter)
Saves Extensible Application Markup Language (XAML) information as the source for a provided text writer object. The output of the text writer can then be used to serialize the provided object.
public void Save(object obj, TextWriter writer)
Parameters
objobjectThe element to be serialized. Typically, this is the root element of a page or application.
writerTextWriterTextWriter instance to use to write the serialized XAML information.
Save(object, XmlWriter)
Saves Extensible Application Markup Language (XAML) information as the source for a provided XML writer object. The output of the XML writer can then be used to serialize the provided object.
public void Save(object obj, XmlWriter xmlWriter)