Export (0) Print
Expand All

ResXFileRef Constructor (String, String, Encoding)

Initializes a new instance of the ResXFileRef class that references the specified file.

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

public ResXFileRef(
	string fileName,
	string typeName,
	Encoding textFileEncoding
)

Parameters

fileName
Type: System.String

The file to reference.

typeName
Type: System.String

The type name of the resource that is referenced.

textFileEncoding
Type: System.Text.Encoding

The encoding used in the referenced file.

The type referred to by the typeName parameter must support a public constructor that accepts a Stream object as a parameter.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Show:
© 2015 Microsoft