Share via


IResXResourceService.GetResXResourceReader Method

Definition

Overloads

GetResXResourceReader(String, Boolean)

Returns a resx resource reader that matches a given a resXFullName.

GetResXResourceReader(TextReader, Boolean, String)

Returns a resx resource reader given a basepath and name.

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

IResourceReader.

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.

Returns

IResourceReader.

Applies to