XamlServices.Save Method (String, Object)
.NET Framework (current version)
Processes a provided object graph into a XAML node representation and then writes it to an output file at a provided location.
System.Xaml (in System.Xaml.dll)
public static void Save(
The name and location of the file to write the output to.
The root of the object graph to process.
The fileName parameter value is used as the outputFileName input for a call to XmlWriter.Create, which creates a XmlWriter as part of the method call.
Return to top
Available since 4.0