SuppressMessageAttribute.Target Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets a fully qualified path that represents the target of the attribute.
Assembly: mscorlib (in mscorlib.dll)
Property Value
Type: System.StringA fully qualified path that represents the target of the attribute.
The Target property is an optional argument that identifies the analysis target of the attribute. An example value is "System.IO.Stream.ctor():System.Void". Because the path is fully qualified, it can be long, particularly for targets such as parameters. The analysis tool user interface should be capable of automatically formatting the parameter.