Edit

Share via


ResXResourceSet Constructors

Definition

Initializes a new instance of the ResXResourceSet class.

Overloads

ResXResourceSet(Stream)

Initializes a new instance of the ResXResourceSet class using the system default ResXResourceReader to read resources from the specified stream.

ResXResourceSet(String)

Initializes a new instance of the ResXResourceSet class using the system default ResXResourceReader that opens and reads resources from the specified file.

ResXResourceSet(Stream)

Source:
ResXResourceSet.cs
Source:
ResXResourceSet.cs
Source:
ResXResourceSet.cs

Initializes a new instance of the ResXResourceSet class using the system default ResXResourceReader to read resources from the specified stream.

public ResXResourceSet (System.IO.Stream stream);

Parameters

stream
Stream

The Stream of resources to be read. The stream should refer to an existing resource file.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

ResXResourceSet(String)

Source:
ResXResourceSet.cs
Source:
ResXResourceSet.cs
Source:
ResXResourceSet.cs

Initializes a new instance of the ResXResourceSet class using the system default ResXResourceReader that opens and reads resources from the specified file.

public ResXResourceSet (string fileName);

Parameters

fileName
String

The name of the file to read resources from.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9