共用方式為


FormContext.FieldValidators 屬性

定義

取得表單的欄位驗證程式。

public System.Collections.Generic.IDictionary<string,System.Web.Mvc.FieldValidationMetadata> FieldValidators { get; }
member this.FieldValidators : System.Collections.Generic.IDictionary<string, System.Web.Mvc.FieldValidationMetadata>
Public ReadOnly Property FieldValidators As IDictionary(Of String, FieldValidationMetadata)

屬性值

表單之欄位驗證程式的字典。

適用於