ViewContext.GetFormContextForClientValidation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the FormContext if ClientValidationEnabled is enabled.
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