Condividi tramite


ViewContext.GetFormContextForClientValidation Metodo

Definizione

Ottiene l'oggetto FormContext se ClientValidationEnabled è abilitato.

public:
 Microsoft::AspNetCore::Mvc::ViewFeatures::FormContext ^ GetFormContextForClientValidation();
public Microsoft.AspNetCore.Mvc.ViewFeatures.FormContext GetFormContextForClientValidation ();
public Microsoft.AspNetCore.Mvc.ViewFeatures.FormContext? GetFormContextForClientValidation ();
member this.GetFormContextForClientValidation : unit -> Microsoft.AspNetCore.Mvc.ViewFeatures.FormContext
Public Function GetFormContextForClientValidation () As FormContext

Restituisce

Si applica a