Bewerken

Delen via


UnconditionalSuppressMessageAttribute.Target Property

Definition

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

public:
 property System::String ^ Target { System::String ^ get(); void set(System::String ^ value); };
public string? Target { get; set; }
member this.Target : string with get, set
Public Property Target As String

Property Value

Remarks

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 it 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.

Applies to