IResXResourceService.GetResXResourceWriter Method (TextWriter, String)
Returns a resx resource writer given a textWriter and basepath.
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 GetResXResourceWriter ( _
textWriter As TextWriter, _
basePath As String _
) As IResourceWriter
'Uso
Dim instance As IResXResourceService
Dim textWriter As TextWriter
Dim basePath As String
Dim returnValue As IResourceWriter
returnValue = instance.GetResXResourceWriter(textWriter, _
basePath)
IResourceWriter GetResXResourceWriter(
TextWriter textWriter,
string basePath
)
IResourceWriter^ GetResXResourceWriter(
TextWriter^ textWriter,
String^ basePath
)
abstract GetResXResourceWriter :
textWriter:TextWriter *
basePath:string -> IResourceWriter
function GetResXResourceWriter(
textWriter : TextWriter,
basePath : String
) : IResourceWriter
Parameters
- textWriter
Type: System.IO.TextWriter
The TextWriter that is wrapped by the returned IResourceWriter.
- basePath
Type: System.String
The path of the resource file.
Return Value
Type: System.Resources.IResourceWriter
IResourceWriter.
.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