ImageTagHelper.AppendVersion Propriété

Définition

Valeur indiquant si la version du fichier doit être ajoutée aux 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

Valeur de propriété

Attributs

Remarques

Si true alors une chaîne de requête « v » avec le contenu encodé du fichier est ajoutée.

S’applique à