ResXResourceSet 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.
Initializes a new instance of the ResXResourceSet class.
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. |
- 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);
public ResXResourceSet (System.IO.Stream stream);
new System.Resources.ResXResourceSet : System.IO.Stream -> System.Resources.ResXResourceSet
Public Sub New (stream As 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 |
- 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(System::String ^ fileName);
public ResXResourceSet (string fileName);
new System.Resources.ResXResourceSet : string -> System.Resources.ResXResourceSet
Public Sub New (fileName As String)
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 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: