System.Resources Namespace

The System.Resources namespace provides classes and interfaces that allow developers to create, store, and manage various culture-specific resources used in an application. One of the most important classes of the System.Resources namespace is the ResourceManager class.

The ResourceManager class allows the user to access and control resources stored in the main assembly or in resource satellite assemblies. Use the System.Resources.ResourceManager.GetObject and System.Resources.ResourceManager.GetString methods to retrieve culture-specific objects and strings.

Public classMissingManifestResourceExceptionThe exception thrown if the main assembly does not contain the resources for the neutral culture, and they are required because of a missing appropriate satellite assembly.
Public classMissingSatelliteAssemblyExceptionThe exception that is thrown when the satellite assembly for the resources of the neutral culture is missing.
Public classNeutralResourcesLanguageAttributeInforms the ResourceManager of the neutral culture of an assembly. This class cannot be inherited.
Public classResourceManagerProvides convenient access to culture-specific resources at run time.
Public classResourceReaderEnumerates .resources files and streams, reading sequential resource name and value pairs.
Public classResourceSetStores all the resources localized for one particular culture, ignoring all other cultures, including any fallback rules.
Public classResourceWriterWrites resources in the system-default format to an output file or an output stream. This class cannot be inherited.
Public classResXDataNodeRepresents an element in a resource file.
Public classResXFileRefRepresents a link to an external resource.
Public classResXFileRef.ConverterProvides a type converter to convert data for a ResXFileRef to and from a string.
Public classResXResourceReaderEnumerates XML resource (.resx) files and streams, and reads the sequential resource name and value pairs.
Public classResXResourceSetGathers all items that represent an XML resource (.resx) file into a single object.
Public classResXResourceWriterWrites resources in an XML resource (.resx) file or an output stream.
Public classSatelliteContractVersionAttributeInstructs the ResourceManager to ask for a particular version of a satellite assembly to simplify updates of the main assembly of an application.

Public interfaceIResourceReaderProvides the base functionality to read data from resource files.
Public interfaceIResourceWriterProvides functionality to write resources to an output file or stream.

Public enumerationUltimateResourceFallbackLocationSpecifies the assembly for the ResourceManager class to use to retrieve neutral resources by using the Packaging and Deploying Resources.