ObsoleteAttribute.UrlFormat 屬性

定義

取得或設定相對應文件的 URL。 API 會接受格式字串而非實際 URL,並建立包含診斷識別碼的泛型 URL。

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

屬性值

String

表示對應檔 URL 的格式字串。

備註

範例格式字串為 https://contoso.com/obsoletion-warnings/{0}

適用於