Udostępnij za pośrednictwem


ViewContext.GetFormContextForClientValidation Metoda

Definicja

Pobiera wartość FormContext , jeśli ClientValidationEnabled jest włączona.

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

Zwraca

Dotyczy