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.
Namespace: KGySoft.ResourcesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public static ResXResourceSet FromFileContents(
string fileContents,
string? basePath = null
)
Public Shared Function FromFileContents (
fileContents As String,
Optional basePath As String = Nothing
) As ResXResourceSet
public:
static ResXResourceSet^ FromFileContents(
String^ fileContents,
String^ basePath = nullptr
)
static member FromFileContents :
fileContents : string *
?basePath : string
(* Defaults:
let _basePath = defaultArg basePath null
*)
-> ResXResourceSet
- 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: .
ResXResourceSetA
ResXResourceSet instance that reads resources from the
fileContents string.