ImageTagHelper.AppendVersion Proprietà

Definizione

Valore che indica se la versione del file deve essere aggiunta agli URL src.

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

Valore della proprietà

Attributi

Commenti

Se true viene aggiunta una stringa di query "v" con il contenuto codificato del file.

Si applica a