IXamlObjectWriterFactory Interface

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Represents a service that generates a XamlObjectWriter that is based on the current internal parser context.

Namespace:   System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)

public interface IXamlObjectWriterFactory


Returns the XamlObjectWriterSettings from the original internal parser context.


Returns a XamlObjectWriter that is based on active XAML schema context.

An internal factory class implements this service for .NET Framework XAML Services. By obtaining the service from an existing XAML object writer, you can call GetXamlObjectWriter to construct a new compatible XAML object writer. The factory-constructed object writer can resume writing to the object graph after the first write operation is suspended.

.NET Framework
Available since 4.0
Return to top