This documentation is archived and is not being maintained.

IXamlObjectWriterFactory Interface

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

The IXamlObjectWriterFactory type exposes the following members.

Public methodGetParentSettingsReturns the XamlObjectWriterSettings from the original internal parser context.
Public methodGetXamlObjectWriterReturns 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

Supported in: 4

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.