IResXResourceService.GetResXResourceReader Method
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.
Overloads
GetResXResourceReader(String, Boolean) |
Returns a resx resource reader that matches a given a |
GetResXResourceReader(TextReader, Boolean, String) |
Returns a resx resource reader given a |
GetResXResourceReader(String, Boolean)
Returns a resx resource reader that matches a given a resXFullName
.
public:
System::Resources::IResourceReader ^ GetResXResourceReader(System::String ^ resXFullName, bool useResXDataNodes);
public System.Resources.IResourceReader GetResXResourceReader (string resXFullName, bool useResXDataNodes);
abstract member GetResXResourceReader : string * bool -> System.Resources.IResourceReader
Public Function GetResXResourceReader (resXFullName As String, useResXDataNodes As Boolean) As IResourceReader
Parameters
- resXFullName
- String
Creates a reader for the specified file.
- useResXDataNodes
- Boolean
If this value is true the reader returns one or more ResXDataNodes instead of the object type the resource becomes at runtime in order to figure out which files the resx references
Returns
Applies to
GetResXResourceReader(TextReader, Boolean, String)
Returns a resx resource reader given a basepath
and name.
public:
System::Resources::IResourceReader ^ GetResXResourceReader(System::IO::TextReader ^ textReader, bool useResXDataNodes, System::String ^ basePath);
public System.Resources.IResourceReader GetResXResourceReader (System.IO.TextReader textReader, bool useResXDataNodes, string basePath);
abstract member GetResXResourceReader : System.IO.TextReader * bool * string -> System.Resources.IResourceReader
Public Function GetResXResourceReader (textReader As TextReader, useResXDataNodes As Boolean, basePath As String) As IResourceReader
Parameters
- textReader
- TextReader
The TextReader that is wrapped by the returned IResourceReader.
- useResXDataNodes
- Boolean
If this value is true the reader returns one or more ResXDataNodes instead of the object type the resource becomes at runtime in order to figure out which files the resx references
- basePath
- String
The path of the resource file.