SuppressMessageAttribute.Target 屬性

定義

取得或設定代表程式代碼分析目標的完整路徑。

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

屬性值

代表程式代碼分析目標的完整路徑。

備註

屬性 Target 是選擇性自變數,可識別屬性的分析目標。 範例值為 「System.IO」。Stream.ctor () :System.Void“。 由於其完整,因此可能很長,特別是針對參數之類的目標。 分析工具使用者介面應該能夠自動格式化參數。

適用於