ResXResourceReaderFromFileContents Method
Creates a new
ResXResourceReader object and initializes it to read a string whose contents are in the form of an XML resource file.
Namespace: KGySoft.ResourcesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public static ResXResourceReader FromFileContents(
string fileContents,
ITypeResolutionService? typeResolver = null
)
Public Shared Function FromFileContents (
fileContents As String,
Optional typeResolver As ITypeResolutionService = Nothing
) As ResXResourceReader
public:
static ResXResourceReader^ FromFileContents(
String^ fileContents,
ITypeResolutionService^ typeResolver = nullptr
)
static member FromFileContents :
fileContents : string *
?typeResolver : ITypeResolutionService
(* Defaults:
let _typeResolver = defaultArg typeResolver null
*)
-> ResXResourceReader
- fileContents String
- A string containing XML resource-formatted information.
- typeResolver ITypeResolutionService (Optional)
- An object that resolves type names specified in a resource. This parameter is optional.
Default value: .
ResXResourceReaderA
ResXResourceReader object that reads resources from the
fileContents string.