Introducing Reflection
Reflection is an important part of the .NET Framework and provides the capability for interrogating assemblies’ metadata and collecting information on types exposed by assemblies. Reflection also enables you to invoke code from external assemblies and generate code on-the-fly. You can take advantage of reflection by using objects exposed by the System.Reflection
namespace. It can be particularly useful when you need to generate code according to some user input or when you are in late bound scenarios where making decisions on which code must be invoked (or generated) is something determined at runtime. Before putting your hands on code, it is necessary to get an overview of how assemblies are structured so that you can ...
Get Visual Basic 2015 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.