Bewerken

Delen via


PreserializedResourceWriter Constructors

Definition

Overloads

PreserializedResourceWriter(Stream)

Initializes a new instance of the PreserializedResourceWriter class that writes the resources to the provided stream.

PreserializedResourceWriter(String)

Initializes a new instance of the PreserializedResourceWriter class that writes the resources to the specified file.

PreserializedResourceWriter(Stream)

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

Initializes a new instance of the PreserializedResourceWriter class that writes the resources to the provided stream.

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)

Parameters

stream
Stream

The output stream.

Exceptions

stream is not writable.

stream is null.

Applies to

PreserializedResourceWriter(String)

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

Initializes a new instance of the PreserializedResourceWriter class that writes the resources to the specified file.

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)

Parameters

fileName
String

The output file name.

Exceptions

The fileName is null.

Applies to