Chapter 46. Reflection

There are situations in which you need to implement logic for performing some tasks depending on user choices. This kind of a situation is not uncommon. The problem is when you cannot predetermine the code required for executing actions depending on user input. Think of code generators: These tools know how to generate code but cannot predetermine which code has to be generated until the users specify their requirements. Also think of assemblies external from your application. In some cases you ...

Get Visual Basic® 2012 Unleashed, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.