共用方式為


ModelValidatorProviderCollection Constructor (IList<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)

Syntax

'Declaration
Public Sub New ( _
    list As IList(Of ModelValidatorProvider) _
)
public ModelValidatorProviderCollection(
    IList<ModelValidatorProvider> list
)
public:
ModelValidatorProviderCollection(
    IList<ModelValidatorProvider^>^ list
)

Parameters

See Also

Reference

ModelValidatorProviderCollection Class

ModelValidatorProviderCollection Overload

System.Web.Mvc Namespace