Export (0) Print
Expand All

ValidationHelper.Add Method (IEnumerable(String), IValidator[])

Registers a list of user input elements for validation.

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

member Add : 
        fields:IEnumerable<string> * 
        validators:IValidator[] -> unit

Parameters

fields
Type: System.Collections.Generic.IEnumerable(String)
The names (value of the name attribute) of the user input elements to validate.
validators
Type: System.Web.WebPages.IValidator[]
The type of validation to register for each user input element specified in fields.
Show:
© 2015 Microsoft