ModelValidatorProviderCollection Constructor (IList(Of ModelValidatorProvider))

Initializes a new instance of the ModelValidatorProviderCollection class using a list of model-validation providers.

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

'Declaration
Public Sub New ( _
	list As IList(Of ModelValidatorProvider) _
)
'Usage
Dim list As IList(Of ModelValidatorProvider)

Dim instance As New ModelValidatorProviderCollection(list)

Parameters

list
Type: System.Collections.Generic.IList(Of ModelValidatorProvider)

A list of model-validation providers.

Show: