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.

ClassDescription
System_CAPS_pubclassResXFileRef.Converter

Provides a type converter to convert data for a ResXFileRef to and from a string.

System_CAPS_pubclassMissingManifestResourceException

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.

System_CAPS_pubclassMissingSatelliteAssemblyException

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

System_CAPS_pubclassNeutralResourcesLanguageAttribute

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

System_CAPS_pubclassResourceManager

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

Security Note: Calling methods in this class with untrusted data is a security risk. Call the methods in the class only with trusted data. For more information, see Untrusted Data Security Risks.

System_CAPS_pubclassResourceReader

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

Security Note: Calling methods in this class with untrusted data is a security risk. Call the methods in the class only with trusted data. For more information, see Untrusted Data Security Risks.

System_CAPS_pubclassResourceSet

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

Security Note: Calling methods in this class with untrusted data is a security risk. Call the methods in the class only with trusted data. For more information, see Untrusted Data Security Risks.

System_CAPS_pubclassResourceWriter

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

System_CAPS_pubclassResXDataNode

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

System_CAPS_pubclassResXFileRef

Represents a link to an external resource.

System_CAPS_pubclassResXResourceReader

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

System_CAPS_pubclassResXResourceSet

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

System_CAPS_pubclassResXResourceWriter

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

System_CAPS_pubclassSatelliteContractVersionAttribute

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

InterfaceDescription
System_CAPS_pubinterfaceIResourceReader

Provides the base functionality for reading data from resource files.

System_CAPS_pubinterfaceIResourceWriter

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

EnumerationDescription
System_CAPS_pubenumUltimateResourceFallbackLocation

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

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

Return to top
Show: