Redigera

Dela via


ISerializerFactory Interface

Definition

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.

public interface class ISerializerFactory
public interface ISerializerFactory
type ISerializerFactory = interface
Public Interface ISerializerFactory
Derived

Remarks

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(SerializerDescriptor, Boolean) method. Accordingly, we recommend that you not call your implementations of ISerializerFactory methods directly.

Properties

DefaultFileExtension

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

DisplayName

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

ManufacturerName

Gets the name of the serializing component's manufacturer.

ManufacturerWebsite

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

Methods

CreateSerializerWriter(Stream)

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

Applies to