Partager via


IResXResourceService.GetResXResourceReader Method (TextReader, Boolean, String)

Returns a resx resource reader given a basepath and name.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Déclaration
Function GetResXResourceReader ( _
    textReader As TextReader, _
    useResXDataNodes As Boolean, _
    basePath As String _
) As IResourceReader
'Utilisation
Dim instance As IResXResourceService
Dim textReader As TextReader
Dim useResXDataNodes As Boolean
Dim basePath As String
Dim returnValue As IResourceReader

returnValue = instance.GetResXResourceReader(textReader, _
    useResXDataNodes, basePath)
IResourceReader GetResXResourceReader(
    TextReader textReader,
    bool useResXDataNodes,
    string basePath
)
IResourceReader^ GetResXResourceReader(
    TextReader^ textReader, 
    bool useResXDataNodes, 
    String^ basePath
)
abstract GetResXResourceReader : 
        textReader:TextReader * 
        useResXDataNodes:bool * 
        basePath:string -> IResourceReader 
function GetResXResourceReader(
    textReader : TextReader, 
    useResXDataNodes : boolean, 
    basePath : String
) : IResourceReader

Parameters

  • useResXDataNodes
    Type: System.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

Return Value

Type: System.Resources.IResourceReader
IResourceReader.

.NET Framework Security

See Also

Reference

IResXResourceService Interface

IResXResourceService Members

GetResXResourceReader Overload

Microsoft.VisualStudio.Shell Namespace