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

NameDescription
System_CAPS_pubpropertyDefaultFileExtension

Gets the default extension for files of the manufacturer's proprietary format.

System_CAPS_pubpropertyDisplayName

Gets the public name of the manufacturer's serializing component.

System_CAPS_pubpropertyManufacturerName

Gets the name of the serializing component's manufacturer.

System_CAPS_pubpropertyManufacturerWebsite

Gets the web address of the serializing component's manufacturer.

NameDescription
System_CAPS_pubmethodCreateSerializerWriter(Stream)

Initializes 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
Available since 3.0
Return to top
Show:
© 2016 Microsoft