Home > DeveloperSection > Interviews > How to retrieve resources using ResourceManager class?

Posted on    March-18-2011 12:00 AM

 Assembly Assembly 
 1 Answer(s)
  1402  View(s)
Rate this:

Varun Agrawal
Varun Agrawal

Total Post:159

Posted on    March-18-2011 12:00 AM

Some points on ResourceManager
  1. ResourceManager class is used to retrieve resources at run time.
  2. Create a ResourceManager with resource file name and the resource assembly as parameters.
  3. After having created, you can use ResourceManager.GetString method to retrieve a string.
  4. Use the ResourceManager.GetObject method to retrieve images and objects from a resource file.

Don't want to miss updates? Please click the below button!

Follow MindStick