Home > DeveloperSection > Interviews > Explain how to retrieve resources using ResourceManager class.

Posted on    February-18-2012 5:19 AM

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

Arun Singh

Total Post:310

Posted on    February-18-2012 1:00 AM

ResourceManager class is used to retrieve resources at run time.
Create a ResourceManager with resource file name and the resource assembly as parameters.
After having created, you can use ResourceManager.GetString method to retrieve a string.
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