Understanding the Role of Attributes

Attributes are used to add metadata to an assembly. From the introduction we know that attributes provide information such as the vendor or author information, but attributes provide much more.

Attributes describe how data is serialized—written as a stream of bytes for transmission, security models, limiting optimizations for the Just-In-Time compiler (or JITter), and runtime behavior. This section examines the role of attributes, demonstrating how these different uses for attributes are applied.

What Is Metadata?

Metadata is binary data that describes your application. The metadata can be stored in memory or as part of a portable executable (PE).

Metadata describes the elements of your application in a multilanguage ...

Get Visual Basic® .NET 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.