Abstract
Reflection is the ability of code to examine itself. The fact that code has the ability to examine itself should come as no surprise because this ability is needed for even such mundane tasks as figuring out the particular address of a method that needs to be called. But Microsoft has taken the mundane and made it spectacular. Microsoft has given you the ability to examine code. The fact that code has knowledge of itself is nothing new, but just because the code knew about itself did not mean you could get that information. And then Microsoft introduced one more awesome ability: You can create custom attributes with which to tag your code, and you can read these attributes using reflection. This is something unique to the.NET Framework.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2003 Jeff Levinson
About this chapter
Cite this chapter
Levinson, J. (2003). Using Reflection. In: Building Client/Server Applications with VB .NET: An Example-Driven Approach. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-0762-7_10
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0762-7_10
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-59059-070-6
Online ISBN: 978-1-4302-0762-7
eBook Packages: Springer Book Archive