IResXResourceService.GetResXResourceReader Method (TextReader, Boolean, String)
Returns a resx resource reader given a basepath and name.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Function GetResXResourceReader ( _
textReader As TextReader, _
useResXDataNodes As Boolean, _
basePath As String _
) As IResourceReader
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
textReader
Type: TextReaderThe TextReader that is wrapped by the returned IResourceReader.
useResXDataNodes
Type: BooleanIf 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
Type: StringThe path of the resource file.
Return Value
Type: IResourceReader
IResourceReader.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IResXResourceService Interface