Condividi tramite


ScriptTagHelper.AppendVersion Proprietà

Definizione

Valore che indica se la versione del file deve essere aggiunta agli 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)

Valore della proprietà

Attributi

Commenti

Viene aggiunta una stringa di query "v" con il contenuto codificato del file.

Si applica a