Skip to main content
  • 175 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints 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

Publish with us

Policies and ethics