Skip to main content

Type Reflection, Late Binding, and Attribute-based Programming

  • Chapter
Pro VB 2005 and the .NET 2.0 Platform
  • 207 Accesses

Summary

Reflection is a very powerful aspect of a robust OO environment. In the world of .NET, the keys to reflection services revolve around the System. Type class and the System. Reflection namespace. As you have seen, reflection is the process of placing a type under the magnifying glass at runtime to understand the who, what, where, when, why, and how of a given item.

Late binding is the process of creating a type and invoking its members without prior knowledge of the specific names of said members. As shown during this chapter’s extendable application example, this is a very powerful technique used by tool builders as well as tool consumers. This chapter also examined the role of attribute-based programming. When you adorn your types with attributes, the result is the augmentation of the underlying assembly metadata.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 44.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

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.

Rights and permissions

Reprints and permissions

Copyright information

© 2006 Andrew Troelsen

About this chapter

Cite this chapter

(2006). Type Reflection, Late Binding, and Attribute-based Programming. In: Pro VB 2005 and the .NET 2.0 Platform. Apress. https://doi.org/10.1007/978-1-4302-0160-1_14

Download citation

Publish with us

Policies and ethics