Compartilhar via


FormContext.FieldValidators Property

Gets the field validators for the form.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public ReadOnly Property FieldValidators As IDictionary(Of String, FieldValidationMetadata)
    Get
public IDictionary<string, FieldValidationMetadata> FieldValidators { get; }
public:
property IDictionary<String^, FieldValidationMetadata^>^ FieldValidators {
    IDictionary<String^, FieldValidationMetadata^>^ get ();
}

Property Value

Type: System.Collections.Generic.IDictionary<String, FieldValidationMetadata>
A dictionary of field validators for the form.

See Also

Reference

FormContext Class

System.Web.Mvc Namespace