This documentation is archived and is not being maintained.


Attributes are keyword-like tags in which you can specify additional information about entities defined in Visual Basic .NET applications. Attributes, which are saved with an assembly's metadata, annotate programming elements such as types, fields, methods, and properties. Other applications, such as the Visual Basic .NET or ASP.NET compilers, can refer to the information in attributes to determine how objects should be used.

The following sections provide more information about attributes and how they are defined, applied, and retrieved.

In This Section

Attributes Overview
Provides information about attributes and their functionality and capabilities.
Attributes Used in Visual Basic .NET
Lists some of the attributes you are most likely to use in Visual Basic .NET.
Common Uses for Attributes
Describes some of the more common ways that attributes are used.
Application of Attributes
Discusses how attributes are applied to program elements.
Global Attributes
Provides information about attributes that apply to modules or assemblies.
Custom Attributes
Shows how to define your own attributes.

Related Sections

Object-Oriented Programming in Visual Basic
Provides information about object-oriented programming and how it is used.
Metadata and Self-Describing Components
Provides detailed information about the kinds of metadata used in Visual Studio .NET, including attributes.