Note: This property is new in the .NET Framework version 2.0.
Gets the custom switch attributes defined in the application configuration file.
Namespace: System.Diagnostics Assembly: System (in system.dll)
The Attributes property identifies the custom attributes referenced in the application's configuration file. Unreferenced custom attributes are not enumerated. Classes that inherit from the Switch class can add custom attributes by overriding the GetSupportedAttributes method and returning a string array of custom attribute names.