Edit

Share via


ISerializerFactory.CreateSerializerWriter(Stream) Method

Definition

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

public:
 System::Windows::Documents::Serialization::SerializerWriter ^ CreateSerializerWriter(System::IO::Stream ^ stream);
public System.Windows.Documents.Serialization.SerializerWriter CreateSerializerWriter (System.IO.Stream stream);
abstract member CreateSerializerWriter : System.IO.Stream -> System.Windows.Documents.Serialization.SerializerWriter
Public Function CreateSerializerWriter (stream As Stream) As SerializerWriter

Parameters

stream
Stream

The Stream to which the returned object writes.

Returns

An object of a class derived from SerializerWriter.

Notes to Callers

We recommend that you not call your implementation of this method directly. Instead, use the CreateSerializerWriter(SerializerDescriptor, Stream) method of the SerializerProvider class.

Applies to