Compartir a través de


IResXResourceService.GetResXResourceReader Method (String, Boolean)

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

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

'Declaración
Function GetResXResourceReader ( _
    resXFullName As String, _
    useResXDataNodes As Boolean _
) As IResourceReader
'Uso
Dim instance As IResXResourceService
Dim resXFullName As String
Dim useResXDataNodes As Boolean
Dim returnValue As IResourceReader

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

Parameters

  • resXFullName
    Type: System.String
    Creates a reader for the specified file.
  • 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