Export (0) Print
Expand All

SuppressMessageAttribute.Target Property

Gets or sets a fully qualified path that represents the target of the attribute.

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

public string Target { get; set; }

Property Value

Type: System.String
A 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.

Silverlight

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

ADD
Show:
© 2015 Microsoft