Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IXamlObjectWriterFactory Interface

.NET Framework 4.6 and 4.5

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.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
© 2015 Microsoft