ModelValidatorProviderCollection.InsertItem Method

Definition

Inserts a validator provider into the collection.

protected:
 override void InsertItem(int index, System::Web::ModelBinding::ModelValidatorProvider ^ item);
protected override void InsertItem (int index, System.Web.ModelBinding.ModelValidatorProvider item);
override this.InsertItem : int * System.Web.ModelBinding.ModelValidatorProvider -> unit
Protected Overrides Sub InsertItem (index As Integer, item As ModelValidatorProvider)

Parameters

index
Int32

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

item
ModelValidatorProvider

The model-validator provider object to insert.

Applies to