ModelValidatorProviderCollection.InsertItem Method

Inserts a model-validator provider into the collection.

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

abstract InsertItem : 
        index:int * 
        item:ModelValidatorProvider -> unit  
override InsertItem : 
        index:int * 
        item:ModelValidatorProvider -> unit

Parameters

index
Type: System.Int32

The zero-based index at which item should be inserted.

item
Type: System.Web.Mvc.ModelValidatorProvider

The model-validator provider object to insert.

Show: