Bewerken

Share via


ObsoleteAttribute.UrlFormat Property

Definition

Gets or sets the URL for corresponding documentation. The API accepts a format string instead of an actual URL, creating a generic URL that includes the diagnostic ID.

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

Property Value

The format string that represents a URL to corresponding documentation.

Remarks

An example format string is https://contoso.com/obsoletion-warnings/{0}.

Applies to