SuppressMessageAttribute.Category Property

Gets the category that identifies the classification of the attribute.

Namespace:  System.Diagnostics.CodeAnalysis
Assembly:  mscorlib (in mscorlib.dll)

public string Category { get; }

Property Value

Type: System.String
The category that identifies the attribute.

The Category property describes the tool or tool analysis category for which a message suppression attribute applies.


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions