ResXFileRef Constructor

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

Definition

Namespace: KGySoft.Resources
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public ResXFileRef(
	string fileName,
	Type type,
	Encoding? textFileEncoding = null
)

Parameters

fileName  String
The file to reference.
type  Type
The type of the resource that is referenced. Should be either String, array of Byte, MemoryStream or a type, which has a constructor with one Stream parameter.
textFileEncoding  Encoding  (Optional)
The encoding used in the referenced file. Used if type is String. This parameter is optional.
Default value: .

See Also