共用方式為


XpsSerializerFactory.CreateSerializerWriter(Stream) 方法

定義

建立 , SerializerWriter 將 XPS 內容輸出至指定的 Stream

public:
 virtual 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
override this.CreateSerializerWriter : System.IO.Stream -> System.Windows.Documents.Serialization.SerializerWriter
Public Function CreateSerializerWriter (stream As Stream) As SerializerWriter

參數

stream
Stream

要寫入所傳回序列化程式中的輸出資料流。

傳回

輸出寫入器,可將 XPS 內容序列化為指定的 stream

實作

適用於