ResXResourceSet Constructors
Definition
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.
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)
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
ResXResourceSet(String)
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.