ResXResourceReader Constructor (String, AssemblyName[])

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the ResXResourceReader class using an XML resource file name and an array of assembly names.

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

public ResXResourceReader(
	string fileName,
	AssemblyName[] assemblyNames
)

Parameters

fileName
Type: System.String

The name of an XML resource file that contains resources.

assemblyNames
Type: System.Reflection.AssemblyName[]

An array of AssemblyName objects that specifies one or more assemblies. The assemblies are used to resolve a type name in the resource to an actual type.

SecurityAction.LinkDemand

for full trust for the immediate caller. This member cannot be used by partially trusted code.

SecurityAction.InheritanceDemand

for full trust for inheritors. This member cannot be inherited by partially trusted code.

.NET Framework
Available since 2.0
Return to top
Show: