This documentation is archived and is not being maintained.

ResourceSet.ReadResources Method

Reads all the resources and stores them in a Hashtable indicated in the Table property.

Namespace: System.Resources
Assembly: mscorlib (in mscorlib.dll)

protected virtual void ReadResources ()
protected void ReadResources ()
protected function ReadResources ()

Notes to Inheritors Derived classes of ResourceSet should explicitly call ReadResources to load all the resources from the IResourceReader into Table, generally either in the constructor or lazily on the first call to either GetString or GetObject. However, if your resource set and IResourceReader already have information about each other and have a more efficient way to load just a few select resources, this step can be skipped. To minimize working set, write your resource set in such a way that it queries your IResourceReader for only the resource values requested by your application.

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

.NET Compact Framework

Supported in: 2.0, 1.0