System.Windows.Forms
1.0.5000.0
2.0.0.0
System.Object
System.ComponentModel.TypeConverter(typeof(System.Resources.ResXFileRef+Converter))
The class is used to include references to files in an XML resource (.resx) file. A object represents a link to an external resource in an XML resource (.resx) file. You add the object to a .resx file by calling the method.
In a data entry in a .resx file, the type is , and the value is the path location on disk. When the resource manager deserializes the object, the performs the I/O to get the file. The following is an example of a .resx file.
<data name="iconclip" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>lookout.bmp;System.Drawing.Bitmap, System.Drawing</value>
</data>
<data name="mailbackground" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>mailbackground.bmp;System.Drawing.Bitmap, System.Drawing</value>
</data>
<data name="xplogo" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>xplogo.png;System.Drawing.Bitmap, System.Drawing</value>
</data>
To add a object to a .resx file programmatically, you call the constructor to instantiate a object. You then pass this object to the method.
When you compile a .resx file with Resgen.exe (Resource File Generator), the resources specified in the .resx file are embedded in the resulting document resource file.
Represents a link to an external resource.
Constructor
The type referred to by the parameter must support a public constructor that accepts a object as a parameter.
Creates a new instance of the class that references the specified file.
The file to reference.
The type of the resource that is referenced.
1.0.5000.0
2.0.0.0
Constructor
2.0.0.0
The type referred to by the parameter must support a public constructor that accepts a object as a parameter.
Initializes a new instance of the class that references the specified file.
The file to reference.
The type name of the resource that is referenced.
The encoding used in the referenced file.
Property
2.0.0.0
System.String
To be added.
To be added.
Gets the file name specified in the current constructor.
Property
2.0.0.0
System.Text.Encoding
To be added.
To be added.
Gets the encoding specified in the current constructor.
Method
System.String
To be added.
Gets the text representation of the current object.
A string that consists of the concatenated text representations of the parameters specified in the current constructor.
1.0.5000.0
2.0.0.0
Property
2.0.0.0
System.String
To be added.
To be added.
Gets the type name specified in the current constructor.