Bagikan melalui


Attributes in Visual Basic

Attributes are keyword-like tags in which you can specify additional information about entities defined in Visual Basic 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 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