InsertItem Method
Collapse the table of content
Expand the table of content

ModelValidatorProviderCollection.InsertItem Method (Int32, ModelValidatorProvider)

 

Inserts a model-validator provider into the collection.

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

protected override void InsertItem(
	int index,
	ModelValidatorProvider item
)

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.

Return to top
Show:
© 2016 Microsoft