ModelValidatorProviderCollection.InsertItem Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
The model-validator provider object to insert.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.