System.Resources.ResXResourceReader.FromFileContents Method

Creates a new System.Resources.ResXResourceReader object and initializes it to read a string whose contents are in the form of an XML resource file, and to use an array of System.Reflection.AssemblyName objects to resolve type names specified in a resource.

Syntax

public static ResXResourceReader FromFileContents (string fileContents, System.Reflection.AssemblyName[] assemblyNames)

Parameters

fileContents
A string whose contents are in the form of an XML resource file.
assemblyNames
An array of System.Reflection.AssemblyName objects that specifies one or more assemblies. The assemblies are used to resolve a type name in the resource to an actual type.

Returns

An object that reads resources from the fileContents string.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Resources
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0