FormContext.HasAntiforgeryToken Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient ou définit une indication que l’élément de formulaire> actuel <contient un jeton antiforgery. N’utilisez pas, sauf si CanRenderAtEndOfForm est true.
public:
property bool HasAntiforgeryToken { bool get(); void set(bool value); };
public bool HasAntiforgeryToken { get; set; }
member this.HasAntiforgeryToken : bool with get, set
Public Property HasAntiforgeryToken As Boolean
Valeur de propriété
truesi l’élément de formulaire> actuel <contient un jeton antiforgery ; false sinon.