ModelValidatorProviderCollection.SetItem Method (Int32, ModelValidatorProvider)
.NET Framework (current version)
Replaces the model-validator provider element at the specified index.
Assembly: System.Web (in System.Web.dll)
Parameters
- index
-
Type:
System.Int32
The zero-based index of the model-validator provider element to replace.
- item
-
Type:
System.Web.ModelBinding.ModelValidatorProvider
The new value for the model-validator provider element.
.NET Framework
Available since 4.5
Available since 4.5
Show: