LinkTagHelper.AppendVersion Property

Definition

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

public:
 property Nullable<bool> AppendVersion { Nullable<bool> get(); void set(Nullable<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 : Nullable<bool> with get, set
Public Property AppendVersion As Nullable(Of Boolean)

Property Value

Attributes

Remarks

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

Applies to