ViewContext.GetFormContextForClientValidation 方法

定义

FormContext ClientValidationEnabled如果 已启用 ,则获取 。

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

返回

适用于