Share via


ScriptTagHelper.AppendVersion Propriété

Définition

Valeur indiquant si la version du fichier doit être ajoutée aux URL src.

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)

Valeur de propriété

Attributs

Remarques

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

S’applique à