System.Windows.Forms
2.0.0.0
System.Object
System.Runtime.Serialization.ISerializable
The class supports the representation of rich data types within a resource file. It can support the storage of any object in a resource file, so long as the object supports serialization and type editors.
You can create a object by calling one of its overloaded class constructors. You can then add the resource item or element to a resource file by calling the method.
To retrieve an existing object, you must enumerate the objects in an XML resource file by instantiating a object, setting the property to true, and calling the method to get an enumerator. The example provides an illustration.
Represents an element in an XML resource (.resx) file.
Constructor
2.0.0.0
To be added.
Initializes a new instance of the class.
The name of the resource.
The resource to store.
Constructor
2.0.0.0
To be added.
Initializes a new instance of the class with a reference to a resource file.
The name of the resource.
The file reference to use as the resource.
Property
2.0.0.0
System.String
To be added.
If a comment has not been assigned to the resource item, the value of the property is .
You access the property of an data node in an existing XML resource file by instantiating a object, setting the property to true, and calling the method to retrieve an object that you use to enumerate the items in the XML resource file. The property returns the object.
Gets or sets an arbitrary comment regarding this resource.
Property
2.0.0.0
System.Resources.ResXFileRef
To be added.
To be added.
Gets the file reference for this resource.
Method
2.0.0.0
System.Drawing.Point
To be added.
Retrieves the position of the resource in the resource file.
A structure that specifies the location of this resource in the resource file as a line position () and a column position (). If this resource is not part of a resource file, this method returns a structure that has an of 0 and a of 0.
Method
2.0.0.0
System.Object
If the stored value currently exists in memory, it is returned directly. If it is stored in the resource file and it is not a file reference, looks for a by using the specified type resolution service that can convert from a string to the appropriate object. If the resource is a file reference, tries to de-serialize it.
Retrieves the object that is stored by this node by using the specified type resolution service.
The object that corresponds to the stored value.
The type resolution service to use when looking for a type converter.
Method
2.0.0.0
System.Object
If the stored value currently exists in memory, it is returned directly. If it is stored in the resource file and it is not a file reference, looks in the assemblies identified by names to find the object's corresponding type, and then looks for a that can convert from a string to the appropriate object. If the resource is a file reference, tries to deserialize it.
Retrieves the object that is stored by this node by searching the specified assemblies.
The object that corresponds to the stored value.
The list of assemblies to search for the type of the object.
Method
2.0.0.0
System.String
To be added.
Retrieves the type name for the value by using the specified type resolution service.
A string that represents the fully qualified name of the type.
The type resolution service to use to locate a converter for this type.
Method
2.0.0.0
System.String
To be added.
Retrieves the type name for the value by examining the specified assemblies.
A string that represents the fully qualified name of the type.
The assemblies to examine for the type.
Property
2.0.0.0
System.String
To be added.
To be added.
Gets or sets the name of this resource.
Method
2.0.0.0
System.Void
This member is an explicit interface member implementation. It can be used only when the instance is cast to an interface.
Populates a object with the data needed to serialize the target object.
An object to populate with data.
The destination for this serialization.