Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ModelValidatorProviderCollection.SetItem Method

Replaces the model-validator provider element at the specified index.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
protected override function SetItem(
	index : int, 
	item : ModelValidatorProvider
)

Parameters

index
Type: System.Int32

The zero-based index of the model-validator provider element to replace.

item
Type: System.Web.Mvc.ModelValidatorProvider

The new value for the model-validator provider element.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.