Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
C# Attributes

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

Show:
© 2015 Microsoft