0 out of 10 rated this helpful - Rate this topic

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.

  Class Description
Public class MissingManifestResourceException The 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 class MissingSatelliteAssemblyException The exception that is thrown when the satellite assembly for the resources of the neutral culture is missing.
Public class NeutralResourcesLanguageAttribute Informs the ResourceManager of the neutral culture of an assembly. This class cannot be inherited.
Public class ResourceManager Provides convenient access to culture-specific resources at runtime.
Public class ResourceReader Enumerates .resources files and streams, reading sequential resource name and value pairs.
Public class ResourceSet Stores all the resources localized for one particular culture, ignoring all other cultures, including any fallback rules.
Public class ResourceWriter Writes resources in the system-default format to an output file or an output stream. This class cannot be inherited.
Public class ResXDataNode Represents an element in a resource file.
Public class ResXFileRef Represents a link to an external resource.
Public class ResXFileRef.Converter Provides a type converter to convert data for a ResXFileRef to and from a string.
Public class ResXResourceReader Enumerates XML resource (.resx) files and streams, and reads the sequential resource name and value pairs.
Public class ResXResourceSet Gathers all items that represent an XML resource (.resx) file into a single object.
Public class ResXResourceWriter Writes resources in an XML resource (.resx) file or an output stream.
Public class SatelliteContractVersionAttribute Instructs the ResourceManager to ask for a particular version of a satellite assembly to simplify updates of the main assembly of an application.
  Interface Description
Public interface IResourceReader Provides the base functionality to read data from resource files.
Public interface IResourceWriter Provides functionality to write resources to an output file or stream.
  Enumeration Description
Public enumeration UltimateResourceFallbackLocation Specifies the assembly for the ResourceManager class to use to retrieve neutral resources by using the Packaging and Deploying Resources.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ