Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ModelValidatorProviderCollection::InsertItem Method (Int32, ModelValidatorProvider^)

.NET Framework (current version)
 

Inserts a validator provider into the collection.

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

protected:
virtual void InsertItem(
	int index,
	ModelValidatorProvider^ item
) override

Parameters

index
Type: System::Int32

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

item
Type: System.Web.ModelBinding::ModelValidatorProvider^

The model-validator provider object to insert.

.NET Framework
Available since 4.5
Return to top
Show:
© 2017 Microsoft