ResourceReader

ResourceReader


Provides a means to iterate through the resources in a .RES file.


Implements:

IEnumerable 
IObject 
IResourceReader 

Public:

Methods:

NameDescription
 AddDecoder Adds additional resource decoders to interpret binary data that is unknown to the ResourceReader.  
 CloseReader Closes the reader and releases any resources.  
 Equals Returns a boolean indicating if the value and this object instance are the same instance.  
 GetEnumerator Returns an IDictionaryEnumerator object.  
 GetHashCode Returns a pseudo-unique number identifying this instance.  
 ToString Returns a string representation of this object instance.  

Remarks

The only resource types recognized are Strings, Icons, Cursors, and Bitmaps. All other resource types are contained as a byte array.

Pass this object into the ResourceManager constructor to access specific resources based on ID, Type, and Culture. Or pass this object into a ResourceSet to retrieve the resources for a specific culture.

See Also

Project CorLib Overview

Class ResourceReader Overview

Constructors

ResourceManager

ResourceSet

IResourceReader

Win32Resource