Share via


ImageTagHelper.AppendVersion Property

Definition

Value indicating if file version should be appended to the src urls.

public:
 property bool AppendVersion { bool get(); void set(bool value); };
[Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("asp-append-version")]
public bool AppendVersion { get; set; }
[<Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("asp-append-version")>]
member this.AppendVersion : bool with get, set
Public Property AppendVersion As Boolean

Property Value

Attributes

Remarks

If true then a query string "v" with the encoded content of the file is added.

Applies to