ResXResourceSetFromFileContents Method

Creates a new ResXResourceSet object and initializes it to read a string whose contents are in the form of an XML resource file.

Definition

Namespace: KGySoft.Resources
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public static ResXResourceSet FromFileContents(
	string fileContents,
	string? basePath = null
)

Parameters

fileContents  String
A string containing XML resource-formatted information.
basePath  String  (Optional)
The base path for the relative file paths specified in a ResXFileRef object. This parameter is optional.
Default value: .

Return Value

ResXResourceSet
A ResXResourceSet instance that reads resources from the fileContents string.

See Also