ModelValidatorProviderCollection.SetItem Method

Replaces the model-validator provider element at the specified index.

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

'Declaration
Protected Overrides Sub SetItem ( _
	index As Integer, _
	item As ModelValidatorProvider _
)
'Usage
Dim index As Integer 
Dim item As ModelValidatorProvider 

Me.SetItem(index, item)

Parameters

index
Type: System.Int32
The zero-based index of the model-validator provider element to replace.
item
Type: System.Web.Mvc.ModelValidatorProvider
The new value for the model-validator provider element.
Show: