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 System.Resources.ResourceManager class.

Remarks

The System.Resources.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(string) and System.Resources.ResourceManager.GetString(string) methods to retrieve culture-specific objects and strings.

Classes

TypeReason
IResourceReader

Provides the base functionality for reading data from resource files.

IResourceWriter

Provides the base functionality for writing resources to an output file or stream.

MissingManifestResourceException

The exception that is thrown if the main assembly does not contain the resources for the neutral culture, and an appropriate satellite assembly is missing.

MissingSatelliteAssemblyException

The exception that is thrown when the satellite assembly for the resources of the default culture is missing.

NeutralResourcesLanguageAttribute

Informs the resource manager of an app's default culture. This class cannot be inherited.

ResourceManager

Represents a resource manager that provides convenient access to culture-specific resources at run time.

ResourceReader

Enumerates the resources in a binary resources (.resources) file by reading sequential resource name/value pairs.

ResourceSet

Stores all the resources localized for one particular culture, ignoring all other cultures, including any fallback rules.

ResourceWriter

Writes resources in the system-default format to an output file or an output stream. This class cannot be inherited.

ResXDataNode

Represents an element in an XML resource (.resx) file.

ResXFileRef

Represents a link to an external resource.

ResXFileRef+ConverterDocumentation for this section has not yet been entered.
ResXResourceReader

Enumerates XML resource (.resx) files and streams, and reads the sequential resource name and value pairs.

ResXResourceSet

Represents all resources in an XML resource (.resx) file.

ResXResourceWriter

Writes resources in an XML resource (.resx) file or an output stream.

SatelliteContractVersionAttribute

Instructs a System.Resources.ResourceManager object to ask for a particular version of a satellite assembly.

UltimateResourceFallbackLocation

Specifies whether a System.Resources.ResourceManager object looks for the resources of the app's default culture in the main assembly or in a satellite assembly.