PreserializedResourceWriter 构造函数

定义

重载

PreserializedResourceWriter(Stream)

初始化 PreserializedResourceWriter 类的新实例,它将资源写入到提供的流中。

PreserializedResourceWriter(String)

初始化 PreserializedResourceWriter 类的新实例,它将资源写入到指定文件中。

PreserializedResourceWriter(Stream)

Source:
ResourceWriter.cs
Source:
ResourceWriter.cs
Source:
ResourceWriter.cs
Source:
ResourceWriter.cs

初始化 PreserializedResourceWriter 类的新实例,它将资源写入到提供的流中。

public:
 PreserializedResourceWriter(System::IO::Stream ^ stream);
public PreserializedResourceWriter (System.IO.Stream stream);
new System.Resources.Extensions.PreserializedResourceWriter : System.IO.Stream -> System.Resources.Extensions.PreserializedResourceWriter
Public Sub New (stream As Stream)

参数

stream
Stream

输出流。

例外

stream 不可写。

streamnull

适用于

PreserializedResourceWriter(String)

Source:
ResourceWriter.cs
Source:
ResourceWriter.cs
Source:
ResourceWriter.cs
Source:
ResourceWriter.cs

初始化 PreserializedResourceWriter 类的新实例,它将资源写入到指定文件中。

public:
 PreserializedResourceWriter(System::String ^ fileName);
public PreserializedResourceWriter (string fileName);
new System.Resources.Extensions.PreserializedResourceWriter : string -> System.Resources.Extensions.PreserializedResourceWriter
Public Sub New (fileName As String)

参数

fileName
String

输出文件名。

例外

fileNamenull

适用于