Sdílet prostřednictvím


ViewContext.GetFormContextForClientValidation Metoda

Definice

Získá hodnotu FormContext pokud ClientValidationEnabled je povolená.

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

Návraty

Platí pro