HOW TO RETRIEVE RESOURCES USING RESOURCEMANAGER CLASS?

Varun Agrawal

Total Post:159

Points:795
Posted by  Varun Agrawal
 1455  View(s)
Ratings:
Rate this:
  1. Varun Agrawal

    Post:159

    Points:795
    How to retrieve resources using ResourceManager class?

    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.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!