See Also: ResXDataNode Members
The System.Resources.ResXDataNode 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 System.Resources.ResXDataNode 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 ResXResourceWriter.AddResource(ResXDataNode) method.
To retrieve an existing System.Resources.ResXDataNode object, you must enumerate the System.Resources.ResXDataNode objects in an XML resource file by instantiating a System.Resources.ResXResourceReader object, setting the ResXResourceReader.UseResXDataNodes property to true, and calling the ResXResourceReader.GetEnumerator method to get an enumerator. The example provides an illustration.