Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ResourceSet Class

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

For a list of all members of this type, see ResourceSet Members.

System.Object
   System.Resources.ResourceSet
      System.Resources.ResXResourceSet

[Visual Basic]
<Serializable>
Public Class ResourceSet
   Implements IDisposable, IEnumerable
[C#]
[Serializable]
public class ResourceSet : IDisposable, IEnumerable
[C++]
[Serializable]
public __gc class ResourceSet : public IDisposable, IEnumerable
[JScript]
public
   Serializable
class ResourceSet implements IDisposable, IEnumerable

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

The ResourceSet class enumerates over an IResourceReader, loading every name and value, and storing them in a Hashtable. A custom IResourceReader can be used.

See the Developing World-Ready Applications for details on the default resource file format.

Notes to Inheritors:  Derived classes of ResourceSet using their own resource reader and writer should override GetDefaultReader, and GetDefaultWriter, to provide the appropriate functionality for interpreting the ResourceSet.

Requirements

Namespace: System.Resources

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: Mscorlib (in Mscorlib.dll)

See Also

ResourceSet Members | System.Resources Namespace | Developing World-Ready Applications

Show:
© 2014 Microsoft