Share via


ValidateInputAttribute(Boolean) 建構函式

定義

初始化 ValidateInputAttribute 類別的新執行個體。

public ValidateInputAttribute (bool enableValidation);
new System.Web.Mvc.ValidateInputAttribute : bool -> System.Web.Mvc.ValidateInputAttribute
Public Sub New (enableValidation As Boolean)

參數

enableValidation
Boolean

true 表示啟用驗證。

適用於