This documentation is archived and is not being maintained.

C# Attributes

Visual Studio .NET 2003

This section contains an introduction to attributes and descriptions of the following reserved attributes.

AttributeUsage Describes how a custom attribute class can be used.
Conditional Marks a conditional method, a method whose execution depends on a specified preprocessing identifier.
Obsolete Marks a program entity that should not be used.

See Also

C# Programmer's Reference | 17. Attributes | Attributes Tutorial | Introduction to Attributes | B. Interoperability | Platform Invoke Tutorial