Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ISerializerFactory Interface

ISerializerFactory Interface

Provides a means for creating a software component that can serialize any part of a Windows Presentation Foundation (WPF) application's content to a manufacturer's proprietary format. 

Namespace:  System.Windows.Documents.Serialization
Assembly:  PresentationFramework (in PresentationFramework.dll)

public interface ISerializerFactory

The ISerializerFactory type exposes the following members.

Public propertyDefaultFileExtensionGets the default extension for files of the manufacturer's proprietary format.
Public propertyDisplayNameGets the public name of the manufacturer's serializing component.
Public propertyManufacturerNameGets the name of the serializing component's manufacturer.
Public propertyManufacturerWebsiteGets the web address of the serializing component's manufacturer.

Public methodCreateSerializerWriterInitializes an object derived from the abstract SerializerWriter class for the specified Stream.

XpsSerializerFactory in the System.Windows.Xps.Serialization namespace is Microsoft's implementation of this interface for serialized XML Paper Specification (XPS) content.

Notes to Callers

We recommend that you implement this interface only with a document format serializer that you wish to register using the RegisterSerializer method. Accordingly, we recommend that you not call your implementations of ISerializerFactory methods directly.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft