Description

All attributes, whether built-in or user-defined, derive directly or indirectly from System.Attribute. Attributes inherit certain default behaviors: the attribute may be associated with any target element (see System.AttributeTargets); may or may not be inherited by a derived element; and multiple instances may or may not be allowed on the same target element. These behaviors are specified using System.AttributeUsageAttribute.

[Note: An attribute is an annotation that may be placed on an element of source code and used to store application-specific information at compile time. This information is stored in the metadata and can be accessed either during application execution, through a process known as reflection, or when another tool ...

Get .NET Framework Standard Library Annotated Reference, Volume 1: Base Class Library and Extended Numerics Library 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.