Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

  NameDescription
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.
Top
  NameDescription
Public methodCreateSerializerWriterInitializes an object derived from the abstract SerializerWriter class for the specified Stream.
Top

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.5.1, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

Show:
© 2014 Microsoft. All rights reserved.