PreserializedResourceWriter Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |
- Source:
- ResourceWriter.cs
- 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
.NET 10 (package-provided) and other versions
Product | Versions |
---|---|
.NET | 5, 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Standard | 2.0 (package-provided) |
Windows Desktop | 3.0, 3.1, 6, 7, 8, 9, 10 |
- Source:
- ResourceWriter.cs
- 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
.NET 10 (package-provided) and other versions
Product | Versions |
---|---|
.NET | 5, 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Standard | 2.0 (package-provided) |
Windows Desktop | 3.0, 3.1, 6, 7, 8, 9, 10 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: